Enum sdl2_sys::_bindgen_ty_1
source · #[repr(u32)]
pub enum _bindgen_ty_1 {
SDL_PIXELTYPE_UNKNOWN,
SDL_PIXELTYPE_INDEX1,
SDL_PIXELTYPE_INDEX4,
SDL_PIXELTYPE_INDEX8,
SDL_PIXELTYPE_PACKED8,
SDL_PIXELTYPE_PACKED16,
SDL_PIXELTYPE_PACKED32,
SDL_PIXELTYPE_ARRAYU8,
SDL_PIXELTYPE_ARRAYU16,
SDL_PIXELTYPE_ARRAYU32,
SDL_PIXELTYPE_ARRAYF16,
SDL_PIXELTYPE_ARRAYF32,
}
Expand description
Pixel type.
Variants
SDL_PIXELTYPE_UNKNOWN
SDL_PIXELTYPE_INDEX1
SDL_PIXELTYPE_INDEX4
SDL_PIXELTYPE_INDEX8
SDL_PIXELTYPE_PACKED8
SDL_PIXELTYPE_PACKED16
SDL_PIXELTYPE_PACKED32
SDL_PIXELTYPE_ARRAYU8
SDL_PIXELTYPE_ARRAYU16
SDL_PIXELTYPE_ARRAYU32
SDL_PIXELTYPE_ARRAYF16
SDL_PIXELTYPE_ARRAYF32
Trait Implementations
sourceimpl Clone for _bindgen_ty_1
impl Clone for _bindgen_ty_1
sourcefn clone(&self) -> _bindgen_ty_1
fn clone(&self) -> _bindgen_ty_1
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 moresourceimpl Debug for _bindgen_ty_1
impl Debug for _bindgen_ty_1
sourceimpl Hash for _bindgen_ty_1
impl Hash for _bindgen_ty_1
sourceimpl PartialEq<_bindgen_ty_1> for _bindgen_ty_1
impl PartialEq<_bindgen_ty_1> for _bindgen_ty_1
sourcefn eq(&self, other: &_bindgen_ty_1) -> bool
fn eq(&self, other: &_bindgen_ty_1) -> bool
impl Copy for _bindgen_ty_1
impl Eq for _bindgen_ty_1
impl StructuralEq for _bindgen_ty_1
impl StructuralPartialEq for _bindgen_ty_1
Auto Trait Implementations
impl RefUnwindSafe for _bindgen_ty_1
impl Send for _bindgen_ty_1
impl Sync for _bindgen_ty_1
impl Unpin for _bindgen_ty_1
impl UnwindSafe for _bindgen_ty_1
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more