#[repr(transparent)]pub struct ColorU8(_);
Expand description
A 32-bit RGBA color value.
Byteorder: ABGR
Implementations§
source§impl ColorU8
impl ColorU8
sourcepub fn premultiply(&self) -> PremultipliedColorU8
pub fn premultiply(&self) -> PremultipliedColorU8
Converts into a premultiplied color.
Trait Implementations§
source§impl PartialEq<ColorU8> for ColorU8
impl PartialEq<ColorU8> for ColorU8
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§
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