pub struct LayoutPaddingRight(pub PixelValue);
Expand description
Represents a padding-right
attribute
Tuple Fields§
§0: PixelValue
Implementations§
Trait Implementations§
Source§impl Clone for LayoutPaddingRight
impl Clone for LayoutPaddingRight
Source§fn clone(&self) -> LayoutPaddingRight
fn clone(&self) -> LayoutPaddingRight
Returns a copy 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 LayoutPaddingRight
impl Debug for LayoutPaddingRight
Source§impl Default for LayoutPaddingRight
impl Default for LayoutPaddingRight
Source§fn default() -> LayoutPaddingRight
fn default() -> LayoutPaddingRight
Returns the “default value” for a type. Read more
Source§impl Display for LayoutPaddingRight
impl Display for LayoutPaddingRight
Source§impl FormatAsCssValue for LayoutPaddingRight
impl FormatAsCssValue for LayoutPaddingRight
fn format_as_css_value(&self, f: &mut Formatter<'_>) -> Result
Source§impl From<LayoutPaddingRight> for CssProperty
impl From<LayoutPaddingRight> for CssProperty
Source§fn from(e: LayoutPaddingRight) -> Self
fn from(e: LayoutPaddingRight) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutPaddingRight
impl Hash for LayoutPaddingRight
Source§impl Ord for LayoutPaddingRight
impl Ord for LayoutPaddingRight
Source§fn cmp(&self, other: &LayoutPaddingRight) -> Ordering
fn cmp(&self, other: &LayoutPaddingRight) -> 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 PartialEq for LayoutPaddingRight
impl PartialEq for LayoutPaddingRight
Source§impl PartialOrd for LayoutPaddingRight
impl PartialOrd for LayoutPaddingRight
impl Copy for LayoutPaddingRight
impl Eq for LayoutPaddingRight
impl StructuralPartialEq for LayoutPaddingRight
Auto Trait Implementations§
impl Freeze for LayoutPaddingRight
impl RefUnwindSafe for LayoutPaddingRight
impl Send for LayoutPaddingRight
impl Sync for LayoutPaddingRight
impl Unpin for LayoutPaddingRight
impl UnwindSafe for LayoutPaddingRight
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)