pub struct Color {
pub r: f32,
pub g: f32,
pub b: f32,
}
Expand description
RGB Color struct.
Fields§
§r: f32
Red.
g: f32
Green.
b: f32
Blue.
Implementations§
Trait Implementations§
source§impl IntoIterator for Color
impl IntoIterator for Color
source§impl PartialEq for Color
impl PartialEq for Color
impl Copy for Color
impl StructuralPartialEq for Color
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§
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