pub enum FlexWrapValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Wrap,
WrapReverse,
Nowrap,
Number(Number),
}Variants§
Implementations§
Source§impl FlexWrapValue
impl FlexWrapValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is FlexWrapValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is FlexWrapValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is FlexWrapValue::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 FlexWrapValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is FlexWrapValue::Unset otherwise false
Sourcepub const fn is_wrap(&self) -> bool
pub const fn is_wrap(&self) -> bool
Returns true if the enum is FlexWrapValue::Wrap otherwise false
Sourcepub const fn is_wrap_reverse(&self) -> bool
pub const fn is_wrap_reverse(&self) -> bool
Returns true if the enum is FlexWrapValue::WrapReverse otherwise false
Trait Implementations§
Source§impl Clone for FlexWrapValue
impl Clone for FlexWrapValue
Source§fn clone(&self) -> FlexWrapValue
fn clone(&self) -> FlexWrapValue
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 FlexWrapValue
impl Debug for FlexWrapValue
Source§impl Display for FlexWrapValue
impl Display for FlexWrapValue
Source§impl PartialEq for FlexWrapValue
impl PartialEq for FlexWrapValue
impl StructuralPartialEq for FlexWrapValue
impl UnitDataType<FlexWrap<FlexWrapValue>> for FlexWrapValue
Auto Trait Implementations§
impl Freeze for FlexWrapValue
impl RefUnwindSafe for FlexWrapValue
impl Send for FlexWrapValue
impl Sync for FlexWrapValue
impl Unpin for FlexWrapValue
impl UnwindSafe for FlexWrapValue
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