Expand description
An RGBA float representation of a color.
Fields
r: f64
Amount of red, from 0.0 to 1.0.
g: f64
Amount of green, from 0.0 to 1.0.
b: f64
Amount of blue, from 0.0 to 1.0.
a: f64
Amount of alpha, from 0.0 to 1.0.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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