Expand description
Fields
red: u8
green: u8
blue: u8
alpha: u8
Trait Implementations
impl Clone for PremultipliedRgbaColor
impl Clone for PremultipliedRgbaColor
fn clone(&self) -> PremultipliedRgbaColor
fn clone(&self) -> PremultipliedRgbaColor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Debug for PremultipliedRgbaColor
impl Debug for PremultipliedRgbaColor
impl Default for PremultipliedRgbaColor
impl Default for PremultipliedRgbaColor
fn default() -> PremultipliedRgbaColor
fn default() -> PremultipliedRgbaColor
Returns the “default value” for a type. Read more
impl From<Color> for PremultipliedRgbaColor
impl From<Color> for PremultipliedRgbaColor
Convert a non-premultiplied color to a premultiplied one
fn from(col: Color) -> PremultipliedRgbaColor
fn from(col: Color) -> PremultipliedRgbaColor
Converts to this type from the input type.
impl Copy for PremultipliedRgbaColor
Auto Trait Implementations
impl RefUnwindSafe for PremultipliedRgbaColor
impl Send for PremultipliedRgbaColor
impl Sync for PremultipliedRgbaColor
impl Unpin for PremultipliedRgbaColor
impl UnwindSafe for PremultipliedRgbaColor
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_big_endian()
.sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_native_endian()
.