pub struct Margins {
pub left: f64,
pub internal: f64,
pub right: f64,
}
Expand description
Describes the minimum width of gaps around panel groups.
Fields§
§left: f64
The distance in pixels from the left side of the screen to the start of the leftmost panel.
internal: f64
The minimum distance in pixels between the last panel with
Alignment::Left
and the first with Alignment::Center
and
between the last with Alignment::Center
and the first with
Alignment::Right
.
right: f64
The distance in pixels between the rightmost panel and the right side of the screen. Can be overriden if the panels overflow.
Implementations§
Trait Implementations§
Source§impl PartialOrd for Margins
impl PartialOrd 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 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