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