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