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