Struct ItemBar
pub struct ItemBar {
pub width: i32,
pub color: u32,
}Expand description
A visible item bar: its width out of thirteen pixels and its RGB colour.
Fields§
§width: i32Width out of thirteen pixels.
color: u32RGB color of the filled bar.
Trait Implementations§
impl Copy for ItemBar
impl Eq for ItemBar
impl StructuralPartialEq for ItemBar
Auto Trait Implementations§
impl Freeze for ItemBar
impl RefUnwindSafe for ItemBar
impl Send for ItemBar
impl Sync for ItemBar
impl Unpin for ItemBar
impl UnsafeUnpin for ItemBar
impl UnwindSafe for ItemBar
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