#[repr(u8)]pub enum ChachaDinByteOrder {
DEFAULT = 0,
REVERSE = 1,
}
Variants§
DEFAULT = 0
Use default byte order within each input word, where bytes are ordered as follows: B0, B1, B2, B3.
REVERSE = 1
Reverse the byte order within each input word, where bytes are re-ordered as follows: B3, B2, B1, B0.
Implementations§
Trait Implementations§
Source§impl Clone for ChachaDinByteOrder
impl Clone for ChachaDinByteOrder
Source§fn clone(&self) -> ChachaDinByteOrder
fn clone(&self) -> ChachaDinByteOrder
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 From<ChachaDinByteOrder> for u8
impl From<ChachaDinByteOrder> for u8
Source§fn from(val: ChachaDinByteOrder) -> u8
fn from(val: ChachaDinByteOrder) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ChachaDinByteOrder
impl From<u8> for ChachaDinByteOrder
Source§fn from(val: u8) -> ChachaDinByteOrder
fn from(val: u8) -> ChachaDinByteOrder
Converts to this type from the input type.
Source§impl Ord for ChachaDinByteOrder
impl Ord for ChachaDinByteOrder
Source§fn cmp(&self, other: &ChachaDinByteOrder) -> Ordering
fn cmp(&self, other: &ChachaDinByteOrder) -> 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 ChachaDinByteOrder
impl PartialEq for ChachaDinByteOrder
Source§impl PartialOrd for ChachaDinByteOrder
impl PartialOrd for ChachaDinByteOrder
impl Copy for ChachaDinByteOrder
impl Eq for ChachaDinByteOrder
impl StructuralPartialEq for ChachaDinByteOrder
Auto Trait Implementations§
impl Freeze for ChachaDinByteOrder
impl RefUnwindSafe for ChachaDinByteOrder
impl Send for ChachaDinByteOrder
impl Sync for ChachaDinByteOrder
impl Unpin for ChachaDinByteOrder
impl UnwindSafe for ChachaDinByteOrder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)