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