pub struct MarginBlockStartStyleValue(pub MarginTopStyleValue);Expand description
Represents the style value for margin-block-start 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'>Tuple Fields§
§0: MarginTopStyleValueTrait Implementations§
Source§impl Clone for MarginBlockStartStyleValue
impl Clone for MarginBlockStartStyleValue
Source§fn clone(&self) -> MarginBlockStartStyleValue
fn clone(&self) -> MarginBlockStartStyleValue
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 MarginBlockStartStyleValue
impl Debug for MarginBlockStartStyleValue
Source§impl Hash for MarginBlockStartStyleValue
impl Hash for MarginBlockStartStyleValue
Source§impl Ord for MarginBlockStartStyleValue
impl Ord for MarginBlockStartStyleValue
Source§fn cmp(&self, other: &MarginBlockStartStyleValue) -> Ordering
fn cmp(&self, other: &MarginBlockStartStyleValue) -> 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 MarginBlockStartStyleValue
impl<'a> Parse<'a> for MarginBlockStartStyleValue
Source§impl PartialOrd for MarginBlockStartStyleValue
impl PartialOrd for MarginBlockStartStyleValue
Source§impl<'a> Peek<'a> for MarginBlockStartStyleValue
impl<'a> Peek<'a> for MarginBlockStartStyleValue
Source§impl ToCursors for MarginBlockStartStyleValue
impl ToCursors for MarginBlockStartStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for MarginBlockStartStyleValue
impl StructuralPartialEq for MarginBlockStartStyleValue
Auto Trait Implementations§
impl Freeze for MarginBlockStartStyleValue
impl RefUnwindSafe for MarginBlockStartStyleValue
impl Send for MarginBlockStartStyleValue
impl Sync for MarginBlockStartStyleValue
impl Unpin for MarginBlockStartStyleValue
impl UnwindSafe for MarginBlockStartStyleValue
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