pub struct BabyBearPoseidon2HashScheme;Expand description
BabyBear Poseidon2 hash scheme — the only scheme implemented in this crate.
Trait Implementations§
Source§impl Clone for BabyBearPoseidon2HashScheme
impl Clone for BabyBearPoseidon2HashScheme
Source§fn clone(&self) -> BabyBearPoseidon2HashScheme
fn clone(&self) -> BabyBearPoseidon2HashScheme
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BabyBearPoseidon2HashScheme
Source§impl Debug for BabyBearPoseidon2HashScheme
impl Debug for BabyBearPoseidon2HashScheme
Source§impl Default for BabyBearPoseidon2HashScheme
impl Default for BabyBearPoseidon2HashScheme
Source§fn default() -> BabyBearPoseidon2HashScheme
fn default() -> BabyBearPoseidon2HashScheme
Returns the “default value” for a type. Read more
Source§impl GpuHashScheme for BabyBearPoseidon2HashScheme
impl GpuHashScheme for BabyBearPoseidon2HashScheme
type SC = BabyBearPoseidon2Config
type Digest = [MontyField31<BabyBearParameters>; 8]
type Transcript = DuplexSpongeGpu
type MerkleHash = Poseidon2MerkleHash
fn default_config(params: SystemParams) -> Self::SC
fn default_transcript() -> Self::Transcript
Auto Trait Implementations§
impl Freeze for BabyBearPoseidon2HashScheme
impl RefUnwindSafe for BabyBearPoseidon2HashScheme
impl Send for BabyBearPoseidon2HashScheme
impl Sync for BabyBearPoseidon2HashScheme
impl Unpin for BabyBearPoseidon2HashScheme
impl UnsafeUnpin for BabyBearPoseidon2HashScheme
impl UnwindSafe for BabyBearPoseidon2HashScheme
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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