pub struct PaddingSpec {
pub top: usize,
pub right: usize,
pub bottom: usize,
pub left: usize,
}Expand description
Padding specification.
Fields§
§top: usizeTop padding (lines)
right: usizeRight padding (spaces)
bottom: usizeBottom padding (lines)
left: usizeLeft padding (spaces)
Implementations§
Trait Implementations§
Source§impl Clone for PaddingSpec
impl Clone for PaddingSpec
Source§fn clone(&self) -> PaddingSpec
fn clone(&self) -> PaddingSpec
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 PaddingSpec
impl Debug for PaddingSpec
Source§impl PartialEq for PaddingSpec
impl PartialEq for PaddingSpec
impl Copy for PaddingSpec
impl Eq for PaddingSpec
impl StructuralPartialEq for PaddingSpec
Auto Trait Implementations§
impl Freeze for PaddingSpec
impl RefUnwindSafe for PaddingSpec
impl Send for PaddingSpec
impl Sync for PaddingSpec
impl Unpin for PaddingSpec
impl UnwindSafe for PaddingSpec
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