Enum storm::color::ColorComponentType
source · [−]#[repr(u32)]
pub enum ColorComponentType {
U8,
F32,
}
Expand description
Represents the type of each color component.
Variants
U8
F32
Trait Implementations
sourceimpl Clone for ColorComponentType
impl Clone for ColorComponentType
sourcefn clone(&self) -> ColorComponentType
fn clone(&self) -> ColorComponentType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ColorComponentType
impl Debug for ColorComponentType
impl Copy for ColorComponentType
impl Eq for ColorComponentType
impl StructuralEq for ColorComponentType
impl StructuralPartialEq for ColorComponentType
Auto Trait Implementations
impl RefUnwindSafe for ColorComponentType
impl Send for ColorComponentType
impl Sync for ColorComponentType
impl Unpin for ColorComponentType
impl UnwindSafe for ColorComponentType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more