Struct lazybar_core::Margins
source · 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: f64The distance in pixels from the left side of the screen to the start of the leftmost panel.
internal: f64The 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: f64The 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)