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