pub struct Padding {
pub vertical: u32,
pub horizontal: u32,
}Expand description
Space between a widget’s edge and its content, in logical pixels.
Fields§
§vertical: u32Above and below the content.
horizontal: u32Left and right 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