#[repr(transparent)]pub struct SDL_PackedOrder(pub c_uint);Expand description
Packed component order, high bit -> low bit.
Available Since: This enum is available since SDL 3.2.0.
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_PackedOrder
impl SDL_PackedOrder
pub const SDL_PACKEDORDER_NONE: SDL_PackedOrder
pub const SDL_PACKEDORDER_XRGB: SDL_PackedOrder
pub const SDL_PACKEDORDER_RGBX: SDL_PackedOrder
pub const SDL_PACKEDORDER_ARGB: SDL_PackedOrder
pub const SDL_PACKEDORDER_RGBA: SDL_PackedOrder
pub const SDL_PACKEDORDER_XBGR: SDL_PackedOrder
pub const SDL_PACKEDORDER_BGRX: SDL_PackedOrder
pub const SDL_PACKEDORDER_ABGR: SDL_PackedOrder
pub const SDL_PACKEDORDER_BGRA: SDL_PackedOrder
Trait Implementations§
Source§impl Clone for SDL_PackedOrder
impl Clone for SDL_PackedOrder
Source§fn clone(&self) -> SDL_PackedOrder
fn clone(&self) -> SDL_PackedOrder
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_PackedOrder
impl Debug for SDL_PackedOrder
Source§impl Hash for SDL_PackedOrder
impl Hash for SDL_PackedOrder
Source§impl PartialEq for SDL_PackedOrder
impl PartialEq for SDL_PackedOrder
impl Copy for SDL_PackedOrder
impl Eq for SDL_PackedOrder
impl StructuralPartialEq for SDL_PackedOrder
Auto Trait Implementations§
impl Freeze for SDL_PackedOrder
impl RefUnwindSafe for SDL_PackedOrder
impl Send for SDL_PackedOrder
impl Sync for SDL_PackedOrder
impl Unpin for SDL_PackedOrder
impl UnsafeUnpin for SDL_PackedOrder
impl UnwindSafe for SDL_PackedOrder
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