pub struct ProofMetadata {
pub num_nodes: usize,
pub num_axioms: usize,
pub max_depth: usize,
}Expand description
Metadata for mmap proof.
Fields§
§num_nodes: usizeNumber of nodes
num_axioms: usizeNumber of axioms
max_depth: usizeMaximum depth
Trait Implementations§
Source§impl Clone for ProofMetadata
impl Clone for ProofMetadata
Source§fn clone(&self) -> ProofMetadata
fn clone(&self) -> ProofMetadata
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 moreSource§impl Debug for ProofMetadata
impl Debug for ProofMetadata
Source§impl Default for ProofMetadata
impl Default for ProofMetadata
Source§fn default() -> ProofMetadata
fn default() -> ProofMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProofMetadata
impl RefUnwindSafe for ProofMetadata
impl Send for ProofMetadata
impl Sync for ProofMetadata
impl Unpin for ProofMetadata
impl UnsafeUnpin for ProofMetadata
impl UnwindSafe for ProofMetadata
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<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