pub struct Color {
pub red: Real,
pub green: Real,
pub blue: Real,
}
Expand description
RGB color type.
Fields§
§red: Real
red (0.0 ~ 1.0)
green: Real
green (0.0 ~ 1.0)
blue: Real
blue (0.0 ~ 1.0)
Trait Implementations§
impl Copy for Color
Auto Trait Implementations§
impl Freeze for Color
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