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