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