pub struct Strip {
pub x: u8,
pub y: u8,
pub w: u8,
pub color: Rgb,
}Expand description
One bar in a minimap, in 256ths of its box.
Fields§
§x: u8§y: u8§w: u8§color: RgbTrait Implementations§
impl Copy for Strip
impl Eq for Strip
impl StructuralPartialEq for Strip
Auto Trait Implementations§
impl Forget for Strip
impl Freeze for Strip
impl RefUnwindSafe for Strip
impl Send for Strip
impl Sync for Strip
impl Unpin for Strip
impl UnsafeUnpin for Strip
impl UnwindSafe for Strip
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