pub struct CTreeSec<C: CS> {
pub proof_filled: CMerkleProof<C, { _ }>,
pub proof_free: CMerkleProof<C, { _ }>,
pub prev_leaf: CNum<C>,
}
Fields§
§proof_filled: CMerkleProof<C, { _ }>
§proof_free: CMerkleProof<C, { _ }>
§prev_leaf: CNum<C>
Trait Implementations§
Source§impl<C: CS> Signal<C> for CTreeSec<C>
impl<C: CS> Signal<C> for CTreeSec<C>
type Value = TreeSec<<C as CS>::Fr>
fn get_value(&self) -> Option<Self::Value>
fn as_const(&self) -> Option<Self::Value>
fn switch(&self, bit: &CBool<C>, if_else: &Self) -> Self
fn get_cs(&self) -> &RCS<C>
fn from_const(cs: &RCS<C>, value: &Self::Value) -> Self
fn assert_const(&self, value: &Self::Value)
fn inputize(&self)
fn assert_eq(&self, other: &Self)
fn is_eq(&self, other: &Self) -> CBool<C>
fn alloc(cs: &RCS<C>, value: Option<&Self::Value>) -> Self
fn derive_const<T>(&self, value: &<T as Signal<C>>::Value) -> Twhere
T: Signal<C>,
fn derive_alloc<T>(&self, value: Option<&<T as Signal<C>>::Value>) -> Twhere
T: Signal<C>,
Auto Trait Implementations§
impl<C> Freeze for CTreeSec<C>
impl<C> !RefUnwindSafe for CTreeSec<C>
impl<C> !Send for CTreeSec<C>
impl<C> !Sync for CTreeSec<C>
impl<C> Unpin for CTreeSec<C>
impl<C> !UnwindSafe for CTreeSec<C>
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