pub struct LeafNode<V> {
pub key: H256,
pub value: V,
}
Expand description
A leaf in the SMT
Fields§
§key: H256
§value: V
Trait Implementations§
impl<V: Eq> Eq for LeafNode<V>
impl<V> StructuralPartialEq for LeafNode<V>
Auto Trait Implementations§
impl<V> Freeze for LeafNode<V>where
V: Freeze,
impl<V> RefUnwindSafe for LeafNode<V>where
V: RefUnwindSafe,
impl<V> Send for LeafNode<V>where
V: Send,
impl<V> Sync for LeafNode<V>where
V: Sync,
impl<V> Unpin for LeafNode<V>where
V: Unpin,
impl<V> UnwindSafe for LeafNode<V>where
V: UnwindSafe,
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