Struct fermium::pixels::SDL_PackedOrder
source · #[repr(transparent)]pub struct SDL_PackedOrder(pub u32);
Expand description
Packed component order, high bit -> low bit.
Instances of this value are called SDL_PACKEDORDER_*
Tuple Fields§
§0: u32
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 copy 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 Default for SDL_PackedOrder
impl Default for SDL_PackedOrder
source§fn default() -> SDL_PackedOrder
fn default() -> SDL_PackedOrder
Returns the “default value” for a type. Read more
source§impl Hash for SDL_PackedOrder
impl Hash for SDL_PackedOrder
source§impl Ord for SDL_PackedOrder
impl Ord for SDL_PackedOrder
source§fn cmp(&self, other: &SDL_PackedOrder) -> Ordering
fn cmp(&self, other: &SDL_PackedOrder) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SDL_PackedOrder> for SDL_PackedOrder
impl PartialEq<SDL_PackedOrder> for SDL_PackedOrder
source§fn eq(&self, other: &SDL_PackedOrder) -> bool
fn eq(&self, other: &SDL_PackedOrder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SDL_PackedOrder> for SDL_PackedOrder
impl PartialOrd<SDL_PackedOrder> for SDL_PackedOrder
source§fn partial_cmp(&self, other: &SDL_PackedOrder) -> Option<Ordering>
fn partial_cmp(&self, other: &SDL_PackedOrder) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SDL_PackedOrder
impl Eq for SDL_PackedOrder
impl StructuralEq for SDL_PackedOrder
impl StructuralPartialEq for SDL_PackedOrder
Auto Trait Implementations§
impl RefUnwindSafe for SDL_PackedOrder
impl Send for SDL_PackedOrder
impl Sync for SDL_PackedOrder
impl Unpin 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