pub struct OverflowClipMarginStyleValue {
pub visual_box: Option<VisualBox>,
pub length: Option<Length>,
}Expand description
Represents the style value for overflow-clip-margin as defined in css-overflow-5.
The overflow-clip-margin CSS property sets how far overflow content may appear outside the bounds of an element before it’s clipped by effects such as overflow: clip.
The grammar is defined as:
<visual-box> || <length [0,∞]>Fields§
§visual_box: Option<VisualBox>§length: Option<Length>Trait Implementations§
Source§impl Clone for OverflowClipMarginStyleValue
impl Clone for OverflowClipMarginStyleValue
Source§fn clone(&self) -> OverflowClipMarginStyleValue
fn clone(&self) -> OverflowClipMarginStyleValue
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 OverflowClipMarginStyleValue
impl Debug for OverflowClipMarginStyleValue
Source§impl Hash for OverflowClipMarginStyleValue
impl Hash for OverflowClipMarginStyleValue
Source§impl Ord for OverflowClipMarginStyleValue
impl Ord for OverflowClipMarginStyleValue
Source§fn cmp(&self, other: &OverflowClipMarginStyleValue) -> Ordering
fn cmp(&self, other: &OverflowClipMarginStyleValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for OverflowClipMarginStyleValue
impl<'a> Parse<'a> for OverflowClipMarginStyleValue
Source§impl PartialEq for OverflowClipMarginStyleValue
impl PartialEq for OverflowClipMarginStyleValue
Source§fn eq(&self, other: &OverflowClipMarginStyleValue) -> bool
fn eq(&self, other: &OverflowClipMarginStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OverflowClipMarginStyleValue
impl PartialOrd for OverflowClipMarginStyleValue
Source§impl<'a> Peek<'a> for OverflowClipMarginStyleValue
impl<'a> Peek<'a> for OverflowClipMarginStyleValue
Source§impl ToCursors for OverflowClipMarginStyleValue
impl ToCursors for OverflowClipMarginStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for OverflowClipMarginStyleValue
impl StructuralPartialEq for OverflowClipMarginStyleValue
Auto Trait Implementations§
impl Freeze for OverflowClipMarginStyleValue
impl RefUnwindSafe for OverflowClipMarginStyleValue
impl Send for OverflowClipMarginStyleValue
impl Sync for OverflowClipMarginStyleValue
impl Unpin for OverflowClipMarginStyleValue
impl UnwindSafe for OverflowClipMarginStyleValue
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