Enum rich_sdl2_rust::color::pixel::order::ArrayPixelOrder
source · pub enum ArrayPixelOrder {
Rgb,
Rgba,
Argb,
Bgr,
Bgra,
Abgr,
}
Expand description
A pixel byte order from low byte to high byte for a array pixel format.
Variants§
Rgb
An order stored in RGB.
Rgba
An order stored in RGBA.
Argb
An order stored in ARGB.
Bgr
An order stored in BGR.
Bgra
An order stored in BGRA.
Abgr
An order stored in ABGR.
Trait Implementations§
source§impl Clone for ArrayPixelOrder
impl Clone for ArrayPixelOrder
source§fn clone(&self) -> ArrayPixelOrder
fn clone(&self) -> ArrayPixelOrder
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 ArrayPixelOrder
impl Debug for ArrayPixelOrder
source§impl From<u32> for ArrayPixelOrder
impl From<u32> for ArrayPixelOrder
source§impl Hash for ArrayPixelOrder
impl Hash for ArrayPixelOrder
source§impl PartialEq for ArrayPixelOrder
impl PartialEq for ArrayPixelOrder
source§fn eq(&self, other: &ArrayPixelOrder) -> bool
fn eq(&self, other: &ArrayPixelOrder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ArrayPixelOrder
impl Eq for ArrayPixelOrder
impl StructuralPartialEq for ArrayPixelOrder
Auto Trait Implementations§
impl RefUnwindSafe for ArrayPixelOrder
impl Send for ArrayPixelOrder
impl Sync for ArrayPixelOrder
impl Unpin for ArrayPixelOrder
impl UnwindSafe for ArrayPixelOrder
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