pub struct BorderPadding {
pub top: u32,
pub bottom: u32,
pub left: u32,
pub right: u32,
}Expand description
The space in cells between the edge of the bordered area and the element inside.
Fields§
§top: u32§bottom: u32§left: u32§right: u32Implementations§
Trait Implementations§
Source§impl Clone for BorderPadding
impl Clone for BorderPadding
Source§fn clone(&self) -> BorderPadding
fn clone(&self) -> BorderPadding
Returns a duplicate 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 BorderPadding
impl Debug for BorderPadding
Source§impl Default for BorderPadding
impl Default for BorderPadding
Source§fn default() -> BorderPadding
fn default() -> BorderPadding
Returns the “default value” for a type. Read more
impl Copy for BorderPadding
Auto Trait Implementations§
impl Freeze for BorderPadding
impl RefUnwindSafe for BorderPadding
impl Send for BorderPadding
impl Sync for BorderPadding
impl Unpin for BorderPadding
impl UnwindSafe for BorderPadding
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