pub struct RGBA32 {
pub r: f32,
pub g: f32,
pub b: f32,
pub a: f32,
}Expand description
A color in the RGBA color 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§
Trait Implementations§
Source§impl PartialOrd for RGBA32
impl PartialOrd for RGBA32
impl Copy for RGBA32
impl StructuralPartialEq for RGBA32
Auto Trait Implementations§
impl Freeze for RGBA32
impl RefUnwindSafe for RGBA32
impl Send for RGBA32
impl Sync for RGBA32
impl Unpin for RGBA32
impl UnsafeUnpin for RGBA32
impl UnwindSafe for RGBA32
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more