pub struct OverflowClipMarginLeftStyleValue {
pub visual_box: Option<VisualBox>,
pub length: Option<Length>,
}Expand description
Represents the style value for overflow-clip-margin-left as defined in css-overflow-5.
The grammar is defined as:
<visual-box> || <length [0,∞]>Fields§
§visual_box: Option<VisualBox>§length: Option<Length>Trait Implementations§
Source§impl Clone for OverflowClipMarginLeftStyleValue
impl Clone for OverflowClipMarginLeftStyleValue
Source§fn clone(&self) -> OverflowClipMarginLeftStyleValue
fn clone(&self) -> OverflowClipMarginLeftStyleValue
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 Ord for OverflowClipMarginLeftStyleValue
impl Ord for OverflowClipMarginLeftStyleValue
Source§fn cmp(&self, other: &OverflowClipMarginLeftStyleValue) -> Ordering
fn cmp(&self, other: &OverflowClipMarginLeftStyleValue) -> 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 OverflowClipMarginLeftStyleValue
impl<'a> Parse<'a> for OverflowClipMarginLeftStyleValue
Source§impl PartialEq for OverflowClipMarginLeftStyleValue
impl PartialEq for OverflowClipMarginLeftStyleValue
Source§fn eq(&self, other: &OverflowClipMarginLeftStyleValue) -> bool
fn eq(&self, other: &OverflowClipMarginLeftStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OverflowClipMarginLeftStyleValue
impl PartialOrd for OverflowClipMarginLeftStyleValue
Source§impl<'a> Peek<'a> for OverflowClipMarginLeftStyleValue
impl<'a> Peek<'a> for OverflowClipMarginLeftStyleValue
Source§impl ToCursors for OverflowClipMarginLeftStyleValue
impl ToCursors for OverflowClipMarginLeftStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for OverflowClipMarginLeftStyleValue
impl StructuralPartialEq for OverflowClipMarginLeftStyleValue
Auto Trait Implementations§
impl Freeze for OverflowClipMarginLeftStyleValue
impl RefUnwindSafe for OverflowClipMarginLeftStyleValue
impl Send for OverflowClipMarginLeftStyleValue
impl Sync for OverflowClipMarginLeftStyleValue
impl Unpin for OverflowClipMarginLeftStyleValue
impl UnwindSafe for OverflowClipMarginLeftStyleValue
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