#[repr(u8)]pub enum RGBEnum {
Red,
Green,
Blue,
}
Variants§
Trait Implementations§
source§impl Index<RGBEnum> for RGBSpectrum
impl Index<RGBEnum> for RGBSpectrum
source§impl IndexMut<RGBEnum> for RGBSpectrum
impl IndexMut<RGBEnum> for RGBSpectrum
source§impl IntoEnumIterator for RGBEnum
impl IntoEnumIterator for RGBEnum
type Iterator = RGBEnumIter
fn iter() -> RGBEnumIter ⓘ
impl Copy for RGBEnum
Auto Trait Implementations§
impl RefUnwindSafe for RGBEnum
impl Send for RGBEnum
impl Sync for RGBEnum
impl Unpin for RGBEnum
impl UnwindSafe for RGBEnum
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