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