pub struct MarginInlineStyleValue(pub MarginTopStyleValue, pub Option<MarginTopStyleValue>);Expand description
Represents the style value for margin-inline as defined in css-logical-1.
CSS logical properties control borders, size, margin, and padding with directions and dimensions relative to the writing mode. For example, in a left to right, top to bottom writing mode, block-end refers to the bottom. Also known as flow relative.
The grammar is defined as:
<'margin-top'>{1,2}Tuple Fields§
§0: MarginTopStyleValue§1: Option<MarginTopStyleValue>Trait Implementations§
Source§impl Clone for MarginInlineStyleValue
impl Clone for MarginInlineStyleValue
Source§fn clone(&self) -> MarginInlineStyleValue
fn clone(&self) -> MarginInlineStyleValue
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 MarginInlineStyleValue
impl Debug for MarginInlineStyleValue
Source§impl Hash for MarginInlineStyleValue
impl Hash for MarginInlineStyleValue
Source§impl Ord for MarginInlineStyleValue
impl Ord for MarginInlineStyleValue
Source§fn cmp(&self, other: &MarginInlineStyleValue) -> Ordering
fn cmp(&self, other: &MarginInlineStyleValue) -> 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 MarginInlineStyleValue
impl<'a> Parse<'a> for MarginInlineStyleValue
Source§impl PartialEq for MarginInlineStyleValue
impl PartialEq for MarginInlineStyleValue
Source§impl PartialOrd for MarginInlineStyleValue
impl PartialOrd for MarginInlineStyleValue
Source§impl<'a> Peek<'a> for MarginInlineStyleValue
impl<'a> Peek<'a> for MarginInlineStyleValue
Source§impl ToCursors for MarginInlineStyleValue
impl ToCursors for MarginInlineStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for MarginInlineStyleValue
impl StructuralPartialEq for MarginInlineStyleValue
Auto Trait Implementations§
impl Freeze for MarginInlineStyleValue
impl RefUnwindSafe for MarginInlineStyleValue
impl Send for MarginInlineStyleValue
impl Sync for MarginInlineStyleValue
impl Unpin for MarginInlineStyleValue
impl UnwindSafe for MarginInlineStyleValue
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