Enum storm::color::ColorLayoutFormat
source · [−]#[repr(u32)]
pub enum ColorLayoutFormat {
R,
RG,
RGB,
RGBA,
BGRA,
}
Expand description
Represents the layout of the color components.
Variants
R
RG
RGB
RGBA
BGRA
Trait Implementations
sourceimpl Clone for ColorLayoutFormat
impl Clone for ColorLayoutFormat
sourcefn clone(&self) -> ColorLayoutFormat
fn clone(&self) -> ColorLayoutFormat
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 ColorLayoutFormat
impl Debug for ColorLayoutFormat
impl Copy for ColorLayoutFormat
impl Eq for ColorLayoutFormat
impl StructuralEq for ColorLayoutFormat
impl StructuralPartialEq for ColorLayoutFormat
Auto Trait Implementations
impl RefUnwindSafe for ColorLayoutFormat
impl Send for ColorLayoutFormat
impl Sync for ColorLayoutFormat
impl Unpin for ColorLayoutFormat
impl UnwindSafe for ColorLayoutFormat
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