[][src]Enum sdl2_sys::_bindgen_ty_6

#[repr(u32)]
pub enum _bindgen_ty_6 { SDL_PIXELFORMAT_UNKNOWN, SDL_PIXELFORMAT_INDEX1LSB, SDL_PIXELFORMAT_INDEX1MSB, SDL_PIXELFORMAT_INDEX4LSB, SDL_PIXELFORMAT_INDEX4MSB, SDL_PIXELFORMAT_INDEX8, SDL_PIXELFORMAT_RGB332, SDL_PIXELFORMAT_RGB444, SDL_PIXELFORMAT_RGB555, SDL_PIXELFORMAT_BGR555, SDL_PIXELFORMAT_ARGB4444, SDL_PIXELFORMAT_RGBA4444, SDL_PIXELFORMAT_ABGR4444, SDL_PIXELFORMAT_BGRA4444, SDL_PIXELFORMAT_ARGB1555, SDL_PIXELFORMAT_RGBA5551, SDL_PIXELFORMAT_ABGR1555, SDL_PIXELFORMAT_BGRA5551, SDL_PIXELFORMAT_RGB565, SDL_PIXELFORMAT_BGR565, SDL_PIXELFORMAT_RGB24, SDL_PIXELFORMAT_BGR24, SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_RGBX8888, SDL_PIXELFORMAT_BGR888, SDL_PIXELFORMAT_BGRX8888, SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGBA8888, SDL_PIXELFORMAT_ABGR8888, SDL_PIXELFORMAT_BGRA8888, SDL_PIXELFORMAT_ARGB2101010, SDL_PIXELFORMAT_YV12, SDL_PIXELFORMAT_IYUV, SDL_PIXELFORMAT_YUY2, SDL_PIXELFORMAT_UYVY, SDL_PIXELFORMAT_YVYU, SDL_PIXELFORMAT_NV12, SDL_PIXELFORMAT_NV21, SDL_PIXELFORMAT_EXTERNAL_OES, }

Variants

SDL_PIXELFORMAT_UNKNOWNSDL_PIXELFORMAT_INDEX1LSBSDL_PIXELFORMAT_INDEX1MSBSDL_PIXELFORMAT_INDEX4LSBSDL_PIXELFORMAT_INDEX4MSBSDL_PIXELFORMAT_INDEX8SDL_PIXELFORMAT_RGB332SDL_PIXELFORMAT_RGB444SDL_PIXELFORMAT_RGB555SDL_PIXELFORMAT_BGR555SDL_PIXELFORMAT_ARGB4444SDL_PIXELFORMAT_RGBA4444SDL_PIXELFORMAT_ABGR4444SDL_PIXELFORMAT_BGRA4444SDL_PIXELFORMAT_ARGB1555SDL_PIXELFORMAT_RGBA5551SDL_PIXELFORMAT_ABGR1555SDL_PIXELFORMAT_BGRA5551SDL_PIXELFORMAT_RGB565SDL_PIXELFORMAT_BGR565SDL_PIXELFORMAT_RGB24SDL_PIXELFORMAT_BGR24SDL_PIXELFORMAT_RGB888SDL_PIXELFORMAT_RGBX8888SDL_PIXELFORMAT_BGR888SDL_PIXELFORMAT_BGRX8888SDL_PIXELFORMAT_ARGB8888SDL_PIXELFORMAT_RGBA8888SDL_PIXELFORMAT_ABGR8888SDL_PIXELFORMAT_BGRA8888SDL_PIXELFORMAT_ARGB2101010SDL_PIXELFORMAT_YV12

< Planar mode: Y + V + U (3 planes)

SDL_PIXELFORMAT_IYUV

< Planar mode: Y + U + V (3 planes)

SDL_PIXELFORMAT_YUY2

< Packed mode: Y0+U0+Y1+V0 (1 plane)

SDL_PIXELFORMAT_UYVY

< Packed mode: U0+Y0+V0+Y1 (1 plane)

SDL_PIXELFORMAT_YVYU

< Packed mode: Y0+V0+Y1+U0 (1 plane)

SDL_PIXELFORMAT_NV12

< Planar mode: Y + U/V interleaved (2 planes)

SDL_PIXELFORMAT_NV21

< Planar mode: Y + V/U interleaved (2 planes)

SDL_PIXELFORMAT_EXTERNAL_OES

< Android video texture format

Trait Implementations

impl Clone for _bindgen_ty_6[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for _bindgen_ty_6[src]

impl PartialEq<_bindgen_ty_6> for _bindgen_ty_6[src]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for _bindgen_ty_6[src]

impl Hash for _bindgen_ty_6[src]

default fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Copy for _bindgen_ty_6[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]