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