pub struct InnerNodeInfo {
pub value: RpoDigest,
pub left: RpoDigest,
pub right: RpoDigest,
}
Expand description
Representation of a node with two children used for iterating over containers.
Fields§
§value: RpoDigest
§left: RpoDigest
§right: RpoDigest
Trait Implementations§
source§impl Clone for InnerNodeInfo
impl Clone for InnerNodeInfo
source§fn clone(&self) -> InnerNodeInfo
fn clone(&self) -> InnerNodeInfo
Returns a copy of the value. Read more
1.6.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 InnerNodeInfo
impl Debug for InnerNodeInfo
source§impl<T: KvMap<RpoDigest, StoreNode>> Extend<InnerNodeInfo> for MerkleStore<T>
impl<T: KvMap<RpoDigest, StoreNode>> Extend<InnerNodeInfo> for MerkleStore<T>
source§fn extend<I: IntoIterator<Item = InnerNodeInfo>>(&mut self, iter: I)
fn extend<I: IntoIterator<Item = InnerNodeInfo>>(&mut self, iter: I)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl<T: KvMap<RpoDigest, StoreNode>> FromIterator<InnerNodeInfo> for MerkleStore<T>
impl<T: KvMap<RpoDigest, StoreNode>> FromIterator<InnerNodeInfo> for MerkleStore<T>
source§fn from_iter<I: IntoIterator<Item = InnerNodeInfo>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = InnerNodeInfo>>(iter: I) -> Self
Creates a value from an iterator. Read more
source§impl PartialEq for InnerNodeInfo
impl PartialEq for InnerNodeInfo
impl Eq for InnerNodeInfo
impl StructuralPartialEq for InnerNodeInfo
Auto Trait Implementations§
impl Freeze for InnerNodeInfo
impl RefUnwindSafe for InnerNodeInfo
impl Send for InnerNodeInfo
impl Sync for InnerNodeInfo
impl Unpin for InnerNodeInfo
impl UnwindSafe for InnerNodeInfo
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)