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