#[repr(transparent)]pub struct ColorU8(_);
Expand description
A 32-bit RGBA color value.
Byteorder: ABGR
Implementations
sourceimpl ColorU8
impl ColorU8
sourcepub fn premultiply(&self) -> PremultipliedColorU8
pub fn premultiply(&self) -> PremultipliedColorU8
Converts into a premultiplied color.
Trait Implementations
impl Copy for ColorU8
impl StructuralPartialEq for ColorU8
Auto Trait Implementations
impl RefUnwindSafe for ColorU8
impl Send for ColorU8
impl Sync for ColorU8
impl Unpin for ColorU8
impl UnwindSafe for ColorU8
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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