Expand description
Color as Red, Green, Blue
Fields
r: u8
g: u8
b: u8
Implementations
Trait Implementations
sourceimpl Color for Rgb8
impl Color for Rgb8
sourcefn is_premultiplied(&self) -> bool
fn is_premultiplied(&self) -> bool
Return if the color has been premultiplied
sourcefn is_transparent(&self) -> bool
fn is_transparent(&self) -> bool
Return if the color is completely transparent, alpha = 0.0
impl Copy for Rgb8
impl StructuralPartialEq for Rgb8
Auto Trait Implementations
impl RefUnwindSafe for Rgb8
impl Send for Rgb8
impl Sync for Rgb8
impl Unpin for Rgb8
impl UnwindSafe for Rgb8
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more