pub struct Gray(pub f64);Expand description
Gray color (Color unit). Gray value should be between 0.0 and 1.0.
Tuple Fields§
§0: f64Trait Implementations§
impl Copy for Gray
impl StructuralPartialEq for Gray
Auto Trait Implementations§
impl Freeze for Gray
impl RefUnwindSafe for Gray
impl Send for Gray
impl Sync for Gray
impl Unpin for Gray
impl UnwindSafe for Gray
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