#[non_exhaustive]pub enum ScrollMarginInline {
Length(Length),
Raw(Raw),
}Expand description
A value of scroll-margin-inline.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ScrollMarginInline
impl Clone for ScrollMarginInline
Source§fn clone(&self) -> ScrollMarginInline
fn clone(&self) -> ScrollMarginInline
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScrollMarginInline
impl Debug for ScrollMarginInline
Source§impl Display for ScrollMarginInline
impl Display for ScrollMarginInline
Source§impl From<Length> for ScrollMarginInline
impl From<Length> for ScrollMarginInline
Source§impl From<Raw> for ScrollMarginInline
impl From<Raw> for ScrollMarginInline
Source§impl PartialEq for ScrollMarginInline
impl PartialEq for ScrollMarginInline
impl StructuralPartialEq for ScrollMarginInline
Auto Trait Implementations§
impl Freeze for ScrollMarginInline
impl RefUnwindSafe for ScrollMarginInline
impl Send for ScrollMarginInline
impl Sync for ScrollMarginInline
impl Unpin for ScrollMarginInline
impl UnsafeUnpin for ScrollMarginInline
impl UnwindSafe for ScrollMarginInline
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