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