Enum sdl2_sys::SDL_PackedLayout
source · #[repr(u32)]pub enum SDL_PackedLayout {
SDL_PACKEDLAYOUT_NONE = 0,
SDL_PACKEDLAYOUT_332 = 1,
SDL_PACKEDLAYOUT_4444 = 2,
SDL_PACKEDLAYOUT_1555 = 3,
SDL_PACKEDLAYOUT_5551 = 4,
SDL_PACKEDLAYOUT_565 = 5,
SDL_PACKEDLAYOUT_8888 = 6,
SDL_PACKEDLAYOUT_2101010 = 7,
SDL_PACKEDLAYOUT_1010102 = 8,
}
Expand description
Packed component layout.
Variants§
SDL_PACKEDLAYOUT_NONE = 0
SDL_PACKEDLAYOUT_332 = 1
SDL_PACKEDLAYOUT_4444 = 2
SDL_PACKEDLAYOUT_1555 = 3
SDL_PACKEDLAYOUT_5551 = 4
SDL_PACKEDLAYOUT_565 = 5
SDL_PACKEDLAYOUT_8888 = 6
SDL_PACKEDLAYOUT_2101010 = 7
SDL_PACKEDLAYOUT_1010102 = 8
Trait Implementations§
source§impl Clone for SDL_PackedLayout
impl Clone for SDL_PackedLayout
source§fn clone(&self) -> SDL_PackedLayout
fn clone(&self) -> SDL_PackedLayout
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 Hash for SDL_PackedLayout
impl Hash for SDL_PackedLayout
source§impl PartialEq for SDL_PackedLayout
impl PartialEq for SDL_PackedLayout
source§fn eq(&self, other: &SDL_PackedLayout) -> bool
fn eq(&self, other: &SDL_PackedLayout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SDL_PackedLayout
impl Eq for SDL_PackedLayout
impl StructuralPartialEq for SDL_PackedLayout
Auto Trait Implementations§
impl Freeze for SDL_PackedLayout
impl RefUnwindSafe for SDL_PackedLayout
impl Send for SDL_PackedLayout
impl Sync for SDL_PackedLayout
impl Unpin for SDL_PackedLayout
impl UnwindSafe for SDL_PackedLayout
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