pub struct Rgb(pub u32);
Expand description
A 24-bit RGB colour.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl Ord for Rgb
impl Ord for Rgb
Source§impl PartialOrd for Rgb
impl PartialOrd for Rgb
impl Copy for Rgb
impl Eq for Rgb
impl StructuralPartialEq for Rgb
Auto Trait Implementations§
impl Freeze for Rgb
impl RefUnwindSafe for Rgb
impl Send for Rgb
impl Sync for Rgb
impl Unpin for Rgb
impl UnwindSafe for Rgb
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