pub struct MERKLE_TREE_AUTHENTICATION_PATH_VERIFY { /* private fields */ }
Methods from Deref<Target = Program>§
pub fn labelled_instructions(&self) -> Vec<LabelledInstruction>
pub fn is_breakpoint(&self, address: u64) -> bool
pub fn type_hints_at(&self, address: u64) -> Vec<TypeHint>
pub fn assertion_context_at(&self, address: u64) -> Option<AssertionContext>
Sourcepub fn to_bwords(&self) -> Vec<BFieldElement>
pub fn to_bwords(&self) -> Vec<BFieldElement>
Sourcepub fn len_bwords(&self) -> usize
pub fn len_bwords(&self) -> usize
The total length of the program as BFieldElement
s. Double-word instructions contribute
two BFieldElement
s.
pub fn is_empty(&self) -> bool
Sourcepub fn hash(&self) -> Digest
pub fn hash(&self) -> Digest
Produces the program’s canonical hash digest. Uses Tip5
, the
canonical hash function for Triton VM.
Sourcepub fn label_for_address(&self, address: u64) -> String
pub fn label_for_address(&self, address: u64) -> String
The label for the given address, or a deterministic, unique substitute if no label is found.
Trait Implementations§
impl LazyStatic for MERKLE_TREE_AUTHENTICATION_PATH_VERIFY
Auto Trait Implementations§
impl Freeze for MERKLE_TREE_AUTHENTICATION_PATH_VERIFY
impl RefUnwindSafe for MERKLE_TREE_AUTHENTICATION_PATH_VERIFY
impl Send for MERKLE_TREE_AUTHENTICATION_PATH_VERIFY
impl Sync for MERKLE_TREE_AUTHENTICATION_PATH_VERIFY
impl Unpin for MERKLE_TREE_AUTHENTICATION_PATH_VERIFY
impl UnwindSafe for MERKLE_TREE_AUTHENTICATION_PATH_VERIFY
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> 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