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