pub struct RgbColor {
pub red: u8,
pub green: u8,
pub blue: u8,
}
Expand description
24 bit color
Fields§
§red: u8
Red
green: u8
Green
blue: u8
Blue
Trait Implementations§
impl Copy for RgbColor
impl Eq for RgbColor
impl StructuralPartialEq for RgbColor
Auto Trait Implementations§
impl Freeze for RgbColor
impl RefUnwindSafe for RgbColor
impl Send for RgbColor
impl Sync for RgbColor
impl Unpin for RgbColor
impl UnwindSafe for RgbColor
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