pub struct Rgb { /* private fields */ }
Expand description
A type-safe way of constructing a valid RGB color from constituent R, G and B channels.
Implementations§
Trait Implementations§
impl Color for Rgb
impl Copy for Rgb
Auto Trait Implementations§
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