#[repr(u8)]pub enum ChachaDinWordOrder {
DEFAULT = 0,
REVERSE = 1,
}
Variants§
DEFAULT = 0
Use default word order for 128-bits input, where words are ordered as follows: w0, w1, w2, w3.
REVERSE = 1
Reverses the word order for 128-bits input, where words are re-ordered as follows: w3, w2, w1, w0.
Implementations§
Trait Implementations§
Source§impl Clone for ChachaDinWordOrder
impl Clone for ChachaDinWordOrder
Source§fn clone(&self) -> ChachaDinWordOrder
fn clone(&self) -> ChachaDinWordOrder
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<ChachaDinWordOrder> for u8
impl From<ChachaDinWordOrder> for u8
Source§fn from(val: ChachaDinWordOrder) -> u8
fn from(val: ChachaDinWordOrder) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ChachaDinWordOrder
impl From<u8> for ChachaDinWordOrder
Source§fn from(val: u8) -> ChachaDinWordOrder
fn from(val: u8) -> ChachaDinWordOrder
Converts to this type from the input type.
Source§impl Ord for ChachaDinWordOrder
impl Ord for ChachaDinWordOrder
Source§fn cmp(&self, other: &ChachaDinWordOrder) -> Ordering
fn cmp(&self, other: &ChachaDinWordOrder) -> 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 ChachaDinWordOrder
impl PartialEq for ChachaDinWordOrder
Source§impl PartialOrd for ChachaDinWordOrder
impl PartialOrd for ChachaDinWordOrder
impl Copy for ChachaDinWordOrder
impl Eq for ChachaDinWordOrder
impl StructuralPartialEq for ChachaDinWordOrder
Auto Trait Implementations§
impl Freeze for ChachaDinWordOrder
impl RefUnwindSafe for ChachaDinWordOrder
impl Send for ChachaDinWordOrder
impl Sync for ChachaDinWordOrder
impl Unpin for ChachaDinWordOrder
impl UnwindSafe for ChachaDinWordOrder
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
)