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