pub struct MithrilMembershipDigest {}Expand description
Default Mithril Membership Digest
Trait Implementations§
Source§impl Clone for MithrilMembershipDigest
impl Clone for MithrilMembershipDigest
Source§fn clone(&self) -> MithrilMembershipDigest
fn clone(&self) -> MithrilMembershipDigest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MithrilMembershipDigest
impl Debug for MithrilMembershipDigest
Source§impl Default for MithrilMembershipDigest
impl Default for MithrilMembershipDigest
Source§fn default() -> MithrilMembershipDigest
fn default() -> MithrilMembershipDigest
Returns the “default value” for a type. Read more
Source§impl MembershipDigest for MithrilMembershipDigest
Default implementation of MembershipDigest for Mithril.
impl MembershipDigest for MithrilMembershipDigest
Default implementation of MembershipDigest for Mithril.
The SNARK path uses Poseidon so the CPU-side membership commitment stays aligned with the Halo2 circuit hashing.
type ConcatenationHash = CoreWrapper<CtVariableCoreWrapper<Blake2bVarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>
Source§impl PartialEq for MithrilMembershipDigest
impl PartialEq for MithrilMembershipDigest
impl Eq for MithrilMembershipDigest
impl StructuralPartialEq for MithrilMembershipDigest
Auto Trait Implementations§
impl Freeze for MithrilMembershipDigest
impl RefUnwindSafe for MithrilMembershipDigest
impl Send for MithrilMembershipDigest
impl Sync for MithrilMembershipDigest
impl Unpin for MithrilMembershipDigest
impl UnsafeUnpin for MithrilMembershipDigest
impl UnwindSafe for MithrilMembershipDigest
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