pub enum FlexDirectionValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Column,
ColumnReverse,
Row,
RowReverse,
}Variants§
Implementations§
Source§impl FlexDirectionValue
impl FlexDirectionValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is FlexDirectionValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is FlexDirectionValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is FlexDirectionValue::Revert otherwise false
Sourcepub const fn is_revert_layer(&self) -> bool
pub const fn is_revert_layer(&self) -> bool
Returns true if the enum is FlexDirectionValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is FlexDirectionValue::Unset otherwise false
Sourcepub const fn is_column(&self) -> bool
pub const fn is_column(&self) -> bool
Returns true if the enum is FlexDirectionValue::Column otherwise false
Sourcepub const fn is_column_reverse(&self) -> bool
pub const fn is_column_reverse(&self) -> bool
Returns true if the enum is FlexDirectionValue::ColumnReverse otherwise false
Sourcepub const fn is_row(&self) -> bool
pub const fn is_row(&self) -> bool
Returns true if the enum is FlexDirectionValue::Row otherwise false
Sourcepub const fn is_row_reverse(&self) -> bool
pub const fn is_row_reverse(&self) -> bool
Returns true if the enum is FlexDirectionValue::RowReverse otherwise false
Trait Implementations§
Source§impl Clone for FlexDirectionValue
impl Clone for FlexDirectionValue
Source§fn clone(&self) -> FlexDirectionValue
fn clone(&self) -> FlexDirectionValue
Returns a duplicate 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 FlexDirectionValue
impl Debug for FlexDirectionValue
Source§impl Display for FlexDirectionValue
impl Display for FlexDirectionValue
Source§impl PartialEq for FlexDirectionValue
impl PartialEq for FlexDirectionValue
impl StructuralPartialEq for FlexDirectionValue
impl UnitDataType<FlexDirection<FlexDirectionValue>> for FlexDirectionValue
Auto Trait Implementations§
impl Freeze for FlexDirectionValue
impl RefUnwindSafe for FlexDirectionValue
impl Send for FlexDirectionValue
impl Sync for FlexDirectionValue
impl Unpin for FlexDirectionValue
impl UnwindSafe for FlexDirectionValue
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