pub enum Padding {
Single(f64),
Double(f64, f64),
Quadruple(f64, f64, f64, f64),
}
Expand description
Padding space around content.
Variants§
Single(f64)
Set padding of all sides.
Double(f64, f64)
Set top and bottom padding to the first value, and left and right padding to the second value.
Quadruple(f64, f64, f64, f64)
Set top, bottom, left and right padding separately.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Padding
impl Send for Padding
impl Sync for Padding
impl Unpin 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