Struct lighthouse_protocol::Color
source · pub struct Color {
pub red: u8,
pub green: u8,
pub blue: u8,
}
Expand description
An RGB color.
Fields§
§red: u8
§green: u8
§blue: u8
Implementations§
Trait Implementations§
source§impl Distribution<Color> for Standard
impl Distribution<Color> for Standard
source§impl PartialEq for Color
impl PartialEq for Color
impl Copy for Color
impl Eq for Color
impl StructuralPartialEq for Color
Auto Trait Implementations§
impl Freeze for Color
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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