#[repr(u8)]pub enum NumOfRounds {
DEFAULT = 0,
_12ROUNDS = 1,
_8ROUNDS = 2,
_RESERVED_3 = 3,
}
Variants§
DEFAULT = 0
Use 20 rounds of rotation (default)
_12ROUNDS = 1
Use 12 rounds of rotation
_8ROUNDS = 2
Use 8 rounds of rotation
_RESERVED_3 = 3
Implementations§
Source§impl NumOfRounds
impl NumOfRounds
Trait Implementations§
Source§impl Clone for NumOfRounds
impl Clone for NumOfRounds
Source§fn clone(&self) -> NumOfRounds
fn clone(&self) -> NumOfRounds
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<NumOfRounds> for u8
impl From<NumOfRounds> for u8
Source§fn from(val: NumOfRounds) -> u8
fn from(val: NumOfRounds) -> u8
Converts to this type from the input type.
Source§impl From<u8> for NumOfRounds
impl From<u8> for NumOfRounds
Source§fn from(val: u8) -> NumOfRounds
fn from(val: u8) -> NumOfRounds
Converts to this type from the input type.
Source§impl Ord for NumOfRounds
impl Ord for NumOfRounds
Source§fn cmp(&self, other: &NumOfRounds) -> Ordering
fn cmp(&self, other: &NumOfRounds) -> 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 NumOfRounds
impl PartialEq for NumOfRounds
Source§impl PartialOrd for NumOfRounds
impl PartialOrd for NumOfRounds
impl Copy for NumOfRounds
impl Eq for NumOfRounds
impl StructuralPartialEq for NumOfRounds
Auto Trait Implementations§
impl Freeze for NumOfRounds
impl RefUnwindSafe for NumOfRounds
impl Send for NumOfRounds
impl Sync for NumOfRounds
impl Unpin for NumOfRounds
impl UnwindSafe for NumOfRounds
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
)