pub struct HashSuite<F: Field> {
pub name: String,
pub hashfn: Rc<dyn HashFn<F>>,
pub rng: Rc<dyn RngFactory<F>>,
}
Expand description
Make it easy compute both hash related traits from a single source
Fields§
§name: String
The name of this HashSuite.
hashfn: Rc<dyn HashFn<F>>
Define the hash used by the HashSuite
rng: Rc<dyn RngFactory<F>>
Define an RNG factory
Trait Implementations§
Auto Trait Implementations§
impl<F> !RefUnwindSafe for HashSuite<F>
impl<F> !Send for HashSuite<F>
impl<F> !Sync for HashSuite<F>
impl<F> Unpin for HashSuite<F>
impl<F> !UnwindSafe for HashSuite<F>
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