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