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