[−][src]Enum sdl2_sys::SDL_PixelFormatEnum
Variants
< Planar mode: Y + V + U (3 planes)
< Planar mode: Y + U + V (3 planes)
< Packed mode: Y0+U0+Y1+V0 (1 plane)
< Packed mode: U0+Y0+V0+Y1 (1 plane)
< Packed mode: Y0+V0+Y1+U0 (1 plane)
< Planar mode: Y + U/V interleaved (2 planes)
< Planar mode: Y + V/U interleaved (2 planes)
< Android video texture format
Methods
impl SDL_PixelFormatEnum
[src]
pub const SDL_PIXELFORMAT_RGBA32: SDL_PixelFormatEnum
[src]
impl SDL_PixelFormatEnum
[src]
pub const SDL_PIXELFORMAT_ARGB32: SDL_PixelFormatEnum
[src]
impl SDL_PixelFormatEnum
[src]
pub const SDL_PIXELFORMAT_BGRA32: SDL_PixelFormatEnum
[src]
impl SDL_PixelFormatEnum
[src]
pub const SDL_PIXELFORMAT_ABGR32: SDL_PixelFormatEnum
[src]
Trait Implementations
impl Clone for SDL_PixelFormatEnum
[src]
fn clone(&self) -> SDL_PixelFormatEnum
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SDL_PixelFormatEnum
[src]
impl Debug for SDL_PixelFormatEnum
[src]
impl Eq for SDL_PixelFormatEnum
[src]
impl Hash for SDL_PixelFormatEnum
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<SDL_PixelFormatEnum> for SDL_PixelFormatEnum
[src]
fn eq(&self, other: &SDL_PixelFormatEnum) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for SDL_PixelFormatEnum
[src]
impl StructuralPartialEq for SDL_PixelFormatEnum
[src]
Auto Trait Implementations
impl Send for SDL_PixelFormatEnum
impl Sync for SDL_PixelFormatEnum
impl Unpin for SDL_PixelFormatEnum
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,