pub struct PaddingU16 {
pub left: u16,
pub top: u16,
pub right: u16,
pub bottom: u16,
}Expand description
Padding for the four sides of a region.
Fields§
§left: u16The left padding.
top: u16The top padding.
right: u16The right padding.
bottom: u16The bottom padding.
Implementations§
Trait Implementations§
Source§impl Clone for PaddingU16
impl Clone for PaddingU16
Source§fn clone(&self) -> PaddingU16
fn clone(&self) -> PaddingU16
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaddingU16
impl Debug for PaddingU16
Source§impl Default for PaddingU16
impl Default for PaddingU16
Source§fn default() -> PaddingU16
fn default() -> PaddingU16
Returns the “default value” for a type. Read more
Source§impl Hash for PaddingU16
impl Hash for PaddingU16
Source§impl PartialEq for PaddingU16
impl PartialEq for PaddingU16
Source§fn eq(&self, other: &PaddingU16) -> bool
fn eq(&self, other: &PaddingU16) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PaddingU16
impl Eq for PaddingU16
impl StructuralPartialEq for PaddingU16
Auto Trait Implementations§
impl Freeze for PaddingU16
impl RefUnwindSafe for PaddingU16
impl Send for PaddingU16
impl Sync for PaddingU16
impl Unpin for PaddingU16
impl UnsafeUnpin for PaddingU16
impl UnwindSafe for PaddingU16
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