Struct color_parser::RGBA32
source · [−]Expand description
A color in the RGBA color_parser space with 32-bit precision.
lossless format of rgb colors
Fields
r: f32The red channel of color in [0.0f32, 1.0f32].
g: f32The green channel of color in [0.0f32, 1.0f32].
b: f32The blue channel of color in [0.0f32, 1.0f32].
a: f32The alpha channel of color in [0.0f32, 1.0f32].
Implementations
sourceimpl RGBA32
impl RGBA32
Trait Implementations
impl Copy for RGBA32
impl Eq 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more