pub struct PoolBN256 {
pub jubjub: JubJubBN256,
pub hash: PoseidonParams<Fr>,
pub compress: PoseidonParams<Fr>,
pub note: PoseidonParams<Fr>,
pub account: PoseidonParams<Fr>,
pub eddsa: PoseidonParams<Fr>,
pub sponge: PoseidonParams<Fr>,
pub nullifier_intermediate: PoseidonParams<Fr>,
}
Fields§
§jubjub: JubJubBN256
§hash: PoseidonParams<Fr>
§compress: PoseidonParams<Fr>
§note: PoseidonParams<Fr>
§account: PoseidonParams<Fr>
§eddsa: PoseidonParams<Fr>
§sponge: PoseidonParams<Fr>
§nullifier_intermediate: PoseidonParams<Fr>
Trait Implementations§
Source§impl PoolParams for PoolBN256
impl PoolParams for PoolBN256
type Fr = Fr
type Fs = <JubJubBN256 as JubJubParams>::Fs
type J = JubJubBN256
fn jubjub(&self) -> &Self::J
fn hash(&self) -> &PoseidonParams<Self::Fr>
fn compress(&self) -> &PoseidonParams<Self::Fr>
fn note(&self) -> &PoseidonParams<Self::Fr>
fn account(&self) -> &PoseidonParams<Self::Fr>
fn eddsa(&self) -> &PoseidonParams<Self::Fr>
fn sponge(&self) -> &PoseidonParams<Self::Fr>
fn nullifier_intermediate(&self) -> &PoseidonParams<Self::Fr>
Auto Trait Implementations§
impl Freeze for PoolBN256
impl RefUnwindSafe for PoolBN256
impl Send for PoolBN256
impl Sync for PoolBN256
impl Unpin for PoolBN256
impl UnwindSafe for PoolBN256
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<Out, S> FromSeed<S> for Outwhere
S: SeedBoxGen<Out>,
impl<Out, S> FromSeed<S> for Outwhere
S: SeedBoxGen<Out>,
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