pub struct Padding {
pub top: u32,
pub right: u32,
pub bottom: u32,
pub left: u32,
}Expand description
Space between a widget’s edge and its content, in logical pixels, on each side.
Fields§
§top: u32Above the content.
right: u32Right of the content.
bottom: u32Below the content.
left: u32Left of the content.
Trait Implementations§
impl Copy for Padding
impl Eq for Padding
impl StructuralPartialEq for Padding
Auto Trait Implementations§
impl Forget for Padding
impl Freeze for Padding
impl Move for Padding
impl RefUnwindSafe for Padding
impl Send for Padding
impl Sync for Padding
impl Unpin for Padding
impl UnsafeUnpin for Padding
impl UnwindSafe for Padding
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