#[repr(u8)]pub enum BytesOrder {
NORMAL_ORDER = 0,
SWAPPED_ORDER = 1,
}Variants§
Implementations§
Source§impl BytesOrder
impl BytesOrder
Trait Implementations§
Source§impl Clone for BytesOrder
impl Clone for BytesOrder
Source§fn clone(&self) -> BytesOrder
fn clone(&self) -> BytesOrder
Returns a duplicate 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 BytesOrder
impl Debug for BytesOrder
Source§impl From<BytesOrder> for u8
impl From<BytesOrder> for u8
Source§fn from(val: BytesOrder) -> u8
fn from(val: BytesOrder) -> u8
Converts to this type from the input type.
Source§impl From<u8> for BytesOrder
impl From<u8> for BytesOrder
Source§fn from(val: u8) -> BytesOrder
fn from(val: u8) -> BytesOrder
Converts to this type from the input type.
Source§impl Ord for BytesOrder
impl Ord for BytesOrder
Source§fn cmp(&self, other: &BytesOrder) -> Ordering
fn cmp(&self, other: &BytesOrder) -> 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 BytesOrder
impl PartialEq for BytesOrder
Source§impl PartialOrd for BytesOrder
impl PartialOrd for BytesOrder
impl Copy for BytesOrder
impl Eq for BytesOrder
impl StructuralPartialEq for BytesOrder
Auto Trait Implementations§
impl Freeze for BytesOrder
impl RefUnwindSafe for BytesOrder
impl Send for BytesOrder
impl Sync for BytesOrder
impl Unpin for BytesOrder
impl UnwindSafe for BytesOrder
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