#[repr(u32)]pub enum PixelLayout {
Show 15 variants
Palettized8 = 0,
HighColor16 = 1,
TrueColor32 = 2,
Compressed = 3,
Bumpmap = 4,
Palettized4 = 5,
Default = 6,
SingleColor8 = 7,
SingleColor16 = 8,
SingleColor32 = 9,
DoubleColor32 = 10,
DoubleColor64 = 11,
FloatColor32 = 12,
FloatColor64 = 13,
FloatColor128 = 14,
}
Variants§
Palettized8 = 0
HighColor16 = 1
TrueColor32 = 2
Compressed = 3
Bumpmap = 4
Palettized4 = 5
Default = 6
SingleColor8 = 7
SingleColor16 = 8
SingleColor32 = 9
DoubleColor32 = 10
DoubleColor64 = 11
FloatColor32 = 12
FloatColor64 = 13
FloatColor128 = 14
Trait Implementations§
Source§impl Clone for PixelLayout
impl Clone for PixelLayout
Source§fn clone(&self) -> PixelLayout
fn clone(&self) -> PixelLayout
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PixelLayout
impl Debug for PixelLayout
impl Copy for PixelLayout
Auto Trait Implementations§
impl Freeze for PixelLayout
impl RefUnwindSafe for PixelLayout
impl Send for PixelLayout
impl Sync for PixelLayout
impl Unpin for PixelLayout
impl UnwindSafe for PixelLayout
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