#[repr(i32)]pub enum RectHeightStyle {
Tight = 0,
Max = 1,
IncludeLineSpacingMiddle = 2,
IncludeLineSpacingTop = 3,
IncludeLineSpacingBottom = 4,
Strut = 5,
}
Variants§
Tight = 0
Provide tight bounding boxes that fit heights per run.
Max = 1
IncludeLineSpacingMiddle = 2
IncludeLineSpacingTop = 3
IncludeLineSpacingBottom = 4
Strut = 5
Trait Implementations§
Source§impl Clone for RectHeightStyle
impl Clone for RectHeightStyle
Source§fn clone(&self) -> RectHeightStyle
fn clone(&self) -> RectHeightStyle
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RectHeightStyle
impl Debug for RectHeightStyle
Source§impl Default for RectHeightStyle
impl Default for RectHeightStyle
Source§fn default() -> RectHeightStyle
fn default() -> RectHeightStyle
Returns the “default value” for a type. Read more
Source§impl Hash for RectHeightStyle
impl Hash for RectHeightStyle
Source§impl PartialEq for RectHeightStyle
impl PartialEq for RectHeightStyle
impl Copy for RectHeightStyle
impl Eq for RectHeightStyle
impl StructuralPartialEq for RectHeightStyle
Auto Trait Implementations§
impl Freeze for RectHeightStyle
impl RefUnwindSafe for RectHeightStyle
impl Send for RectHeightStyle
impl Sync for RectHeightStyle
impl Unpin for RectHeightStyle
impl UnwindSafe for RectHeightStyle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more