#[non_exhaustive]pub enum ScrollMarginBlock {
Length(Length),
Raw(Raw),
}Expand description
A value of scroll-margin-block.
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 ScrollMarginBlock
impl Clone for ScrollMarginBlock
Source§fn clone(&self) -> ScrollMarginBlock
fn clone(&self) -> ScrollMarginBlock
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 ScrollMarginBlock
impl Debug for ScrollMarginBlock
Source§impl Display for ScrollMarginBlock
impl Display for ScrollMarginBlock
Source§impl From<Length> for ScrollMarginBlock
impl From<Length> for ScrollMarginBlock
Source§impl From<Raw> for ScrollMarginBlock
impl From<Raw> for ScrollMarginBlock
Source§impl PartialEq for ScrollMarginBlock
impl PartialEq for ScrollMarginBlock
impl StructuralPartialEq for ScrollMarginBlock
Auto Trait Implementations§
impl Freeze for ScrollMarginBlock
impl RefUnwindSafe for ScrollMarginBlock
impl Send for ScrollMarginBlock
impl Sync for ScrollMarginBlock
impl Unpin for ScrollMarginBlock
impl UnsafeUnpin for ScrollMarginBlock
impl UnwindSafe for ScrollMarginBlock
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