pub struct LayoutPadding {
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 LayoutPadding
impl Clone for LayoutPadding
Source§fn clone(&self) -> LayoutPadding
fn clone(&self) -> LayoutPadding
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 LayoutPadding
impl Debug for LayoutPadding
Source§impl Hash for LayoutPadding
impl Hash for LayoutPadding
Source§impl Ord for LayoutPadding
impl Ord for LayoutPadding
Source§fn cmp(&self, other: &LayoutPadding) -> Ordering
fn cmp(&self, other: &LayoutPadding) -> 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 LayoutPadding
impl PartialEq for LayoutPadding
Source§impl PartialOrd for LayoutPadding
impl PartialOrd for LayoutPadding
impl Copy for LayoutPadding
impl Eq for LayoutPadding
impl StructuralPartialEq for LayoutPadding
Auto Trait Implementations§
impl Freeze for LayoutPadding
impl RefUnwindSafe for LayoutPadding
impl Send for LayoutPadding
impl Sync for LayoutPadding
impl Unpin for LayoutPadding
impl UnwindSafe for LayoutPadding
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