Enum sdl2_sys::SDL_PackedLayout
source · [−]#[repr(u32)]
pub enum SDL_PackedLayout {
SDL_PACKEDLAYOUT_NONE,
SDL_PACKEDLAYOUT_332,
SDL_PACKEDLAYOUT_4444,
SDL_PACKEDLAYOUT_1555,
SDL_PACKEDLAYOUT_5551,
SDL_PACKEDLAYOUT_565,
SDL_PACKEDLAYOUT_8888,
SDL_PACKEDLAYOUT_2101010,
SDL_PACKEDLAYOUT_1010102,
}
Expand description
Packed component layout.
Variants
SDL_PACKEDLAYOUT_NONE
SDL_PACKEDLAYOUT_332
SDL_PACKEDLAYOUT_4444
SDL_PACKEDLAYOUT_1555
SDL_PACKEDLAYOUT_5551
SDL_PACKEDLAYOUT_565
SDL_PACKEDLAYOUT_8888
SDL_PACKEDLAYOUT_2101010
SDL_PACKEDLAYOUT_1010102
Trait Implementations
sourceimpl Clone for SDL_PackedLayout
impl Clone for SDL_PackedLayout
sourcefn clone(&self) -> SDL_PackedLayout
fn clone(&self) -> SDL_PackedLayout
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 SDL_PackedLayout
impl Debug for SDL_PackedLayout
sourceimpl Hash for SDL_PackedLayout
impl Hash for SDL_PackedLayout
sourceimpl PartialEq<SDL_PackedLayout> for SDL_PackedLayout
impl PartialEq<SDL_PackedLayout> for SDL_PackedLayout
impl Copy for SDL_PackedLayout
impl Eq for SDL_PackedLayout
impl StructuralEq for SDL_PackedLayout
impl StructuralPartialEq for SDL_PackedLayout
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more