pub struct ShapePaddingStyleValue(pub LengthPercentage);Expand description
Represents the style value for shape-padding as defined in css-shapes-2.
The grammar is defined as:
<length-percentage [0,∞]>Tuple Fields§
§0: LengthPercentageTrait Implementations§
Source§impl Clone for ShapePaddingStyleValue
impl Clone for ShapePaddingStyleValue
Source§fn clone(&self) -> ShapePaddingStyleValue
fn clone(&self) -> ShapePaddingStyleValue
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 ShapePaddingStyleValue
impl Debug for ShapePaddingStyleValue
Source§impl Hash for ShapePaddingStyleValue
impl Hash for ShapePaddingStyleValue
Source§impl Ord for ShapePaddingStyleValue
impl Ord for ShapePaddingStyleValue
Source§fn cmp(&self, other: &ShapePaddingStyleValue) -> Ordering
fn cmp(&self, other: &ShapePaddingStyleValue) -> 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 ShapePaddingStyleValue
impl<'a> Parse<'a> for ShapePaddingStyleValue
Source§impl PartialEq for ShapePaddingStyleValue
impl PartialEq for ShapePaddingStyleValue
Source§impl PartialOrd for ShapePaddingStyleValue
impl PartialOrd for ShapePaddingStyleValue
Source§impl<'a> Peek<'a> for ShapePaddingStyleValue
impl<'a> Peek<'a> for ShapePaddingStyleValue
Source§impl ToCursors for ShapePaddingStyleValue
impl ToCursors for ShapePaddingStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ShapePaddingStyleValue
impl StructuralPartialEq for ShapePaddingStyleValue
Auto Trait Implementations§
impl Freeze for ShapePaddingStyleValue
impl RefUnwindSafe for ShapePaddingStyleValue
impl Send for ShapePaddingStyleValue
impl Sync for ShapePaddingStyleValue
impl Unpin for ShapePaddingStyleValue
impl UnwindSafe for ShapePaddingStyleValue
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