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