#[non_exhaustive]pub enum OverflowClipMargin {
BorderBox,
ContentBox,
PaddingBox,
Length(Length),
Raw(Raw),
}Expand description
A value of overflow-clip-margin.
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.
BorderBox
border-box.
ContentBox
content-box.
PaddingBox
padding-box.
Length(Length)
A length.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for OverflowClipMargin
impl Clone for OverflowClipMargin
Source§fn clone(&self) -> OverflowClipMargin
fn clone(&self) -> OverflowClipMargin
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 OverflowClipMargin
impl Debug for OverflowClipMargin
Source§impl Display for OverflowClipMargin
impl Display for OverflowClipMargin
Source§impl From<Length> for OverflowClipMargin
impl From<Length> for OverflowClipMargin
Source§impl From<Raw> for OverflowClipMargin
impl From<Raw> for OverflowClipMargin
Source§impl PartialEq for OverflowClipMargin
impl PartialEq for OverflowClipMargin
impl StructuralPartialEq for OverflowClipMargin
Auto Trait Implementations§
impl Freeze for OverflowClipMargin
impl RefUnwindSafe for OverflowClipMargin
impl Send for OverflowClipMargin
impl Sync for OverflowClipMargin
impl Unpin for OverflowClipMargin
impl UnsafeUnpin for OverflowClipMargin
impl UnwindSafe for OverflowClipMargin
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