pub struct Margin { /* private fields */ }
Implementations§
Source§impl Margin
impl Margin
pub fn new() -> Margin
pub fn left(self, left: usize) -> Margin
pub fn right(self, right: usize) -> Margin
pub fn top(self, top: usize) -> Margin
pub fn bottom(self, bottom: usize) -> Margin
pub fn pad(self, pad: usize) -> Margin
pub fn auto_expand(self, auto_expand: bool) -> Margin
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Margin
impl RefUnwindSafe for Margin
impl Send for Margin
impl Sync for Margin
impl Unpin for Margin
impl UnwindSafe for Margin
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