Enum sdl2_sys::SDL_ArrayOrder
source · #[repr(u32)]pub enum SDL_ArrayOrder {
SDL_ARRAYORDER_NONE = 0,
SDL_ARRAYORDER_RGB = 1,
SDL_ARRAYORDER_RGBA = 2,
SDL_ARRAYORDER_ARGB = 3,
SDL_ARRAYORDER_BGR = 4,
SDL_ARRAYORDER_BGRA = 5,
SDL_ARRAYORDER_ABGR = 6,
}
Expand description
Array component order, low byte -> high byte.
Variants§
SDL_ARRAYORDER_NONE = 0
SDL_ARRAYORDER_RGB = 1
SDL_ARRAYORDER_RGBA = 2
SDL_ARRAYORDER_ARGB = 3
SDL_ARRAYORDER_BGR = 4
SDL_ARRAYORDER_BGRA = 5
SDL_ARRAYORDER_ABGR = 6
Trait Implementations§
source§impl Clone for SDL_ArrayOrder
impl Clone for SDL_ArrayOrder
source§fn clone(&self) -> SDL_ArrayOrder
fn clone(&self) -> SDL_ArrayOrder
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 Hash for SDL_ArrayOrder
impl Hash for SDL_ArrayOrder
source§impl PartialEq for SDL_ArrayOrder
impl PartialEq for SDL_ArrayOrder
source§fn eq(&self, other: &SDL_ArrayOrder) -> bool
fn eq(&self, other: &SDL_ArrayOrder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SDL_ArrayOrder
impl Eq for SDL_ArrayOrder
impl StructuralPartialEq for SDL_ArrayOrder
Auto Trait Implementations§
impl Freeze for SDL_ArrayOrder
impl RefUnwindSafe for SDL_ArrayOrder
impl Send for SDL_ArrayOrder
impl Sync for SDL_ArrayOrder
impl Unpin for SDL_ArrayOrder
impl UnwindSafe for SDL_ArrayOrder
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