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: Window
The X resource id of the bar window
visual: Visualtype
The X visual that the bar uses
width: u16
The width of the bar in pixels
height: u16
The height of the bar in pixels
transparent: bool
Whether the bar supports transparency
bg: Color
The 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