Fields
r: f32
g: f32
b: f32
a: f32
Implementations
Trait Implementations
sourceimpl Color for Rgba32
impl Color for Rgba32
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 Rgba32
impl StructuralPartialEq for Rgba32
Auto Trait Implementations
impl RefUnwindSafe for Rgba32
impl Send for Rgba32
impl Sync for Rgba32
impl Unpin for Rgba32
impl UnwindSafe for Rgba32
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