pub struct MarginLeftStyleValue(pub AutoOr<LengthPercentage>);Expand description
Represents the style value for margin-left as defined in css-box-4.
The margin CSS property sets space around an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.
The grammar is defined as:
<length-percentage> | autoTuple Fields§
§0: AutoOr<LengthPercentage>Trait Implementations§
Source§impl Clone for MarginLeftStyleValue
impl Clone for MarginLeftStyleValue
Source§fn clone(&self) -> MarginLeftStyleValue
fn clone(&self) -> MarginLeftStyleValue
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 MarginLeftStyleValue
impl Debug for MarginLeftStyleValue
Source§impl Hash for MarginLeftStyleValue
impl Hash for MarginLeftStyleValue
Source§impl Ord for MarginLeftStyleValue
impl Ord for MarginLeftStyleValue
Source§fn cmp(&self, other: &MarginLeftStyleValue) -> Ordering
fn cmp(&self, other: &MarginLeftStyleValue) -> 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 MarginLeftStyleValue
impl<'a> Parse<'a> for MarginLeftStyleValue
Source§impl PartialEq for MarginLeftStyleValue
impl PartialEq for MarginLeftStyleValue
Source§impl PartialOrd for MarginLeftStyleValue
impl PartialOrd for MarginLeftStyleValue
Source§impl<'a> Peek<'a> for MarginLeftStyleValue
impl<'a> Peek<'a> for MarginLeftStyleValue
Source§impl ToCursors for MarginLeftStyleValue
impl ToCursors for MarginLeftStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for MarginLeftStyleValue
impl StructuralPartialEq for MarginLeftStyleValue
Auto Trait Implementations§
impl Freeze for MarginLeftStyleValue
impl RefUnwindSafe for MarginLeftStyleValue
impl Send for MarginLeftStyleValue
impl Sync for MarginLeftStyleValue
impl Unpin for MarginLeftStyleValue
impl UnwindSafe for MarginLeftStyleValue
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