Enum freya_engine::prelude::RectHeightStyle
#[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§
§impl Clone for RectHeightStyle
impl Clone for RectHeightStyle
§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 more§impl Debug for RectHeightStyle
impl Debug for RectHeightStyle
§impl Default for RectHeightStyle
impl Default for RectHeightStyle
§fn default() -> RectHeightStyle
fn default() -> RectHeightStyle
Returns the “default value” for a type. Read more
§impl Hash for RectHeightStyle
impl Hash for RectHeightStyle
§impl PartialEq for RectHeightStyle
impl PartialEq for RectHeightStyle
§fn eq(&self, other: &RectHeightStyle) -> bool
fn eq(&self, other: &RectHeightStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RectHeightStyle
impl Eq for RectHeightStyle
impl StructuralEq for RectHeightStyle
impl StructuralPartialEq for RectHeightStyle
Auto Trait Implementations§
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