pub enum HashFunction {
Poseidon,
MiMCTornado,
}
Variants§
Trait Implementations§
Source§impl Clone for HashFunction
impl Clone for HashFunction
Source§fn clone(&self) -> HashFunction
fn clone(&self) -> HashFunction
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 Debug for HashFunction
impl Debug for HashFunction
Source§impl Display for HashFunction
impl Display for HashFunction
Source§impl From<HashFunction> for HF
impl From<HashFunction> for HF
Source§fn from(hash_function: HashFunction) -> Self
fn from(hash_function: HashFunction) -> Self
Converts to this type from the input type.
Source§impl From<HashFunction> for JsString
impl From<HashFunction> for JsString
Source§fn from(e: HashFunction) -> Self
fn from(e: HashFunction) -> Self
Converts to this type from the input type.
Source§impl FromStr for HashFunction
impl FromStr for HashFunction
Source§impl PartialEq for HashFunction
impl PartialEq for HashFunction
impl Copy for HashFunction
impl Eq for HashFunction
impl StructuralPartialEq for HashFunction
Auto Trait Implementations§
impl Freeze for HashFunction
impl RefUnwindSafe for HashFunction
impl Send for HashFunction
impl Sync for HashFunction
impl Unpin for HashFunction
impl UnwindSafe for HashFunction
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