pub struct ColorRgb {
pub r: f32,
pub g: f32,
pub b: f32,
}Expand description
An RGB color in sRGB space, components in [0, 1].
Fields§
§r: f32§g: f32§b: f32Trait Implementations§
impl Copy for ColorRgb
impl StructuralPartialEq for ColorRgb
Auto Trait Implementations§
impl Freeze for ColorRgb
impl RefUnwindSafe for ColorRgb
impl Send for ColorRgb
impl Sync for ColorRgb
impl Unpin for ColorRgb
impl UnsafeUnpin for ColorRgb
impl UnwindSafe for ColorRgb
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