pub struct HashTreeState<P: PoolParams> {
pub hashes: Vec<Vec<Num<P::Fr>>>,
pub default_hashes: Vec<Num<P::Fr>>,
}
Fields§
§hashes: Vec<Vec<Num<P::Fr>>>
§default_hashes: Vec<Num<P::Fr>>
Implementations§
Source§impl<P: PoolParams> HashTreeState<P>
impl<P: PoolParams> HashTreeState<P>
Auto Trait Implementations§
impl<P> Freeze for HashTreeState<P>
impl<P> RefUnwindSafe for HashTreeState<P>
impl<P> Send for HashTreeState<P>
impl<P> Sync for HashTreeState<P>
impl<P> Unpin for HashTreeState<P>
impl<P> UnwindSafe for HashTreeState<P>
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<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