Struct lazybar_core::bar::BarInfo
source · pub struct BarInfo {
pub window: Window,
pub visual: Visualtype,
pub width: u16,
pub height: u16,
pub transparent: bool,
pub bg: Color,
}Expand description
Information about the bar, usually for use in building panels.
Fields§
§window: WindowThe X resource id of the bar window
visual: VisualtypeThe X visual that the bar uses
width: u16The width of the bar in pixels
height: u16The height of the bar in pixels
transparent: boolWhether the bar supports transparency
bg: ColorThe background color of the bar
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BarInfo
impl RefUnwindSafe for BarInfo
impl Send for BarInfo
impl Sync for BarInfo
impl Unpin for BarInfo
impl UnwindSafe for BarInfo
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)