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