pub enum Rgb565Order {
LittleEndian,
BigEndian,
}Expand description
The order in which a display takes the two bytes of a 16-bit pixel.
Variants§
LittleEndian
The low byte first, as a little-endian CPU stores a u16.
BigEndian
The high byte first, as most displays on an SPI bus read it.
Trait Implementations§
Source§impl Clone for Rgb565Order
impl Clone for Rgb565Order
Source§fn clone(&self) -> Rgb565Order
fn clone(&self) -> Rgb565Order
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Rgb565Order
Source§impl Debug for Rgb565Order
impl Debug for Rgb565Order
impl Eq for Rgb565Order
Source§impl PartialEq for Rgb565Order
impl PartialEq for Rgb565Order
impl StructuralPartialEq for Rgb565Order
Auto Trait Implementations§
impl Forget for Rgb565Order
impl Freeze for Rgb565Order
impl RefUnwindSafe for Rgb565Order
impl Send for Rgb565Order
impl Sync for Rgb565Order
impl Unpin for Rgb565Order
impl UnsafeUnpin for Rgb565Order
impl UnwindSafe for Rgb565Order
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