Enum rich_sdl2_rust::color::pixel::order::BitmapPixelOrder
source · pub enum BitmapPixelOrder {
_4321,
_1234,
}
Expand description
A pixel order in a bitmap pixel format.
Variants§
Trait Implementations§
source§impl Clone for BitmapPixelOrder
impl Clone for BitmapPixelOrder
source§fn clone(&self) -> BitmapPixelOrder
fn clone(&self) -> BitmapPixelOrder
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 BitmapPixelOrder
impl Debug for BitmapPixelOrder
source§impl From<u32> for BitmapPixelOrder
impl From<u32> for BitmapPixelOrder
source§impl Hash for BitmapPixelOrder
impl Hash for BitmapPixelOrder
source§impl PartialEq for BitmapPixelOrder
impl PartialEq for BitmapPixelOrder
source§fn eq(&self, other: &BitmapPixelOrder) -> bool
fn eq(&self, other: &BitmapPixelOrder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BitmapPixelOrder
impl Eq for BitmapPixelOrder
impl StructuralPartialEq for BitmapPixelOrder
Auto Trait Implementations§
impl RefUnwindSafe for BitmapPixelOrder
impl Send for BitmapPixelOrder
impl Sync for BitmapPixelOrder
impl Unpin for BitmapPixelOrder
impl UnwindSafe for BitmapPixelOrder
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