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