pub enum Rgb30ByteOrder {
Host = 0,
Network = 1,
}
Expand description
Defines storage byte order for RGBA1010102 or RGBA2101010
Some systems require to be bytes in network byte order instead of host.
Variants§
Trait Implementations§
Source§impl Clone for Rgb30ByteOrder
impl Clone for Rgb30ByteOrder
Source§fn clone(&self) -> Rgb30ByteOrder
fn clone(&self) -> Rgb30ByteOrder
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 Rgb30ByteOrder
impl Debug for Rgb30ByteOrder
Source§impl From<usize> for Rgb30ByteOrder
impl From<usize> for Rgb30ByteOrder
Source§impl Ord for Rgb30ByteOrder
impl Ord for Rgb30ByteOrder
Source§fn cmp(&self, other: &Rgb30ByteOrder) -> Ordering
fn cmp(&self, other: &Rgb30ByteOrder) -> 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 for Rgb30ByteOrder
impl PartialEq for Rgb30ByteOrder
Source§impl PartialOrd for Rgb30ByteOrder
impl PartialOrd for Rgb30ByteOrder
impl Copy for Rgb30ByteOrder
impl Eq for Rgb30ByteOrder
impl StructuralPartialEq for Rgb30ByteOrder
Auto Trait Implementations§
impl Freeze for Rgb30ByteOrder
impl RefUnwindSafe for Rgb30ByteOrder
impl Send for Rgb30ByteOrder
impl Sync for Rgb30ByteOrder
impl Unpin for Rgb30ByteOrder
impl UnwindSafe for Rgb30ByteOrder
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