pub struct RescuePermutation<F: RescueParameter, const R: usize> { /* private fields */ }
Expand description
State of rescue sponge, containing necessary permutation instance.
Replacing RescueSponge
, see module doc.
Trait Implementations§
Source§impl<F: RescueParameter, const R: usize> AsMut<[F]> for RescuePermutation<F, R>
impl<F: RescueParameter, const R: usize> AsMut<[F]> for RescuePermutation<F, R>
Source§impl<F: RescueParameter, const R: usize> AsRef<[F]> for RescuePermutation<F, R>
impl<F: RescueParameter, const R: usize> AsRef<[F]> for RescuePermutation<F, R>
Source§impl<F: Clone + RescueParameter, const R: usize> Clone for RescuePermutation<F, R>
impl<F: Clone + RescueParameter, const R: usize> Clone for RescuePermutation<F, R>
Source§fn clone(&self) -> RescuePermutation<F, R>
fn clone(&self) -> RescuePermutation<F, R>
Returns a duplicate 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<F: RescueParameter, const R: usize> Debug for RescuePermutation<F, R>
impl<F: RescueParameter, const R: usize> Debug for RescuePermutation<F, R>
Source§impl<F: Default + RescueParameter, const R: usize> Default for RescuePermutation<F, R>
impl<F: Default + RescueParameter, const R: usize> Default for RescuePermutation<F, R>
Source§fn default() -> RescuePermutation<F, R>
fn default() -> RescuePermutation<F, R>
Returns the “default value” for a type. Read more
Source§impl<F: RescueParameter, const R: usize> Permutation for RescuePermutation<F, R>
impl<F: RescueParameter, const R: usize> Permutation for RescuePermutation<F, R>
Source§impl<F: RescueParameter, const R: usize> Zeroize for RescuePermutation<F, R>
impl<F: RescueParameter, const R: usize> Zeroize for RescuePermutation<F, R>
Auto Trait Implementations§
impl<F, const R: usize> Freeze for RescuePermutation<F, R>where
F: Freeze,
impl<F, const R: usize> RefUnwindSafe for RescuePermutation<F, R>where
F: RefUnwindSafe,
impl<F, const R: usize> Send for RescuePermutation<F, R>
impl<F, const R: usize> Sync for RescuePermutation<F, R>
impl<F, const R: usize> Unpin for RescuePermutation<F, R>where
F: Unpin,
impl<F, const R: usize> UnwindSafe for RescuePermutation<F, R>where
F: UnwindSafe,
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more