pub struct LayoutMargin {
pub top: PixelValueWithAuto,
pub bottom: PixelValueWithAuto,
pub left: PixelValueWithAuto,
pub right: PixelValueWithAuto,
}
Expand description
Represents a parsed padding
attribute
Fields§
§top: PixelValueWithAuto
§bottom: PixelValueWithAuto
§left: PixelValueWithAuto
§right: PixelValueWithAuto
Trait Implementations§
Source§impl Clone for LayoutMargin
impl Clone for LayoutMargin
Source§fn clone(&self) -> LayoutMargin
fn clone(&self) -> LayoutMargin
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 LayoutMargin
impl Debug for LayoutMargin
Source§impl Hash for LayoutMargin
impl Hash for LayoutMargin
Source§impl Ord for LayoutMargin
impl Ord for LayoutMargin
Source§fn cmp(&self, other: &LayoutMargin) -> Ordering
fn cmp(&self, other: &LayoutMargin) -> 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 LayoutMargin
impl PartialEq for LayoutMargin
Source§impl PartialOrd for LayoutMargin
impl PartialOrd for LayoutMargin
impl Copy for LayoutMargin
impl Eq for LayoutMargin
impl StructuralPartialEq for LayoutMargin
Auto Trait Implementations§
impl Freeze for LayoutMargin
impl RefUnwindSafe for LayoutMargin
impl Send for LayoutMargin
impl Sync for LayoutMargin
impl Unpin for LayoutMargin
impl UnwindSafe for LayoutMargin
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