pub struct ColorND<const N: usize> { /* private fields */ }Expand description
A generic N-dimensional color, all components are clamped between 0 and 1
Implementations§
Trait Implementations§
Source§impl<const N: usize> PartialOrd for ColorND<N>
impl<const N: usize> PartialOrd for ColorND<N>
impl<const N: usize> Copy for ColorND<N>
impl<const N: usize> StructuralPartialEq for ColorND<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for ColorND<N>
impl<const N: usize> RefUnwindSafe for ColorND<N>
impl<const N: usize> Send for ColorND<N>
impl<const N: usize> Sync for ColorND<N>
impl<const N: usize> Unpin for ColorND<N>
impl<const N: usize> UnwindSafe for ColorND<N>
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