Struct tiny_skia::PremultipliedColorU8 [−][src]
#[repr(transparent)]pub struct PremultipliedColorU8(_);
Expand description
A 32-bit premultiplied RGBA color value.
Byteorder: ABGR
Implementations
A transparent color.
Creates a new premultiplied color.
RGB components must be <= alpha.
Returns a demultiplied color.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PremultipliedColorU8
impl Send for PremultipliedColorU8
impl Sync for PremultipliedColorU8
impl Unpin for PremultipliedColorU8
impl UnwindSafe for PremultipliedColorU8
Blanket Implementations
Mutably borrows from an owned value. Read more