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