#[repr(transparent)]pub struct SDL_PixelType(pub c_uint);Expand description
Pixel type.
Available Since: This enum is available since SDL 3.2.0.
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_PixelType
impl SDL_PixelType
pub const SDL_PIXELTYPE_UNKNOWN: SDL_PixelType
pub const SDL_PIXELTYPE_INDEX1: SDL_PixelType
pub const SDL_PIXELTYPE_INDEX4: SDL_PixelType
pub const SDL_PIXELTYPE_INDEX8: SDL_PixelType
pub const SDL_PIXELTYPE_PACKED8: SDL_PixelType
pub const SDL_PIXELTYPE_PACKED16: SDL_PixelType
pub const SDL_PIXELTYPE_PACKED32: SDL_PixelType
pub const SDL_PIXELTYPE_ARRAYU8: SDL_PixelType
pub const SDL_PIXELTYPE_ARRAYU16: SDL_PixelType
pub const SDL_PIXELTYPE_ARRAYU32: SDL_PixelType
pub const SDL_PIXELTYPE_ARRAYF16: SDL_PixelType
pub const SDL_PIXELTYPE_ARRAYF32: SDL_PixelType
pub const SDL_PIXELTYPE_INDEX2: SDL_PixelType
Trait Implementations§
Source§impl Clone for SDL_PixelType
impl Clone for SDL_PixelType
Source§fn clone(&self) -> SDL_PixelType
fn clone(&self) -> SDL_PixelType
Returns a duplicate 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 Debug for SDL_PixelType
impl Debug for SDL_PixelType
Source§impl Hash for SDL_PixelType
impl Hash for SDL_PixelType
Source§impl PartialEq for SDL_PixelType
impl PartialEq for SDL_PixelType
impl Copy for SDL_PixelType
impl Eq for SDL_PixelType
impl StructuralPartialEq for SDL_PixelType
Auto Trait Implementations§
impl Freeze for SDL_PixelType
impl RefUnwindSafe for SDL_PixelType
impl Send for SDL_PixelType
impl Sync for SDL_PixelType
impl Unpin for SDL_PixelType
impl UnsafeUnpin for SDL_PixelType
impl UnwindSafe for SDL_PixelType
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