pub struct Margins {
pub top: f64,
pub right: f64,
pub bottom: f64,
pub left: f64,
}Expand description
Space around a panel, in logical units.
Fields§
§top: f64From the top edge.
right: f64From the right edge.
bottom: f64From the bottom edge.
left: f64From the left edge.
Trait Implementations§
impl Copy for Margins
impl StructuralPartialEq for Margins
Auto Trait Implementations§
impl Freeze for Margins
impl RefUnwindSafe for Margins
impl Send for Margins
impl Sync for Margins
impl Unpin for Margins
impl UnsafeUnpin for Margins
impl UnwindSafe for Margins
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