pub struct BranchNode {
pub fork_height: u8,
pub key: H256,
pub node_type: NodeType,
}
Expand description
A branch in the SMT
Fields§
§fork_height: u8
§key: H256
§node_type: NodeType
Trait Implementations§
Source§impl Clone for BranchNode
impl Clone for BranchNode
Source§fn clone(&self) -> BranchNode
fn clone(&self) -> BranchNode
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 BranchNode
impl Debug for BranchNode
Source§impl PartialEq for BranchNode
impl PartialEq for BranchNode
impl Eq for BranchNode
impl StructuralPartialEq for BranchNode
Auto Trait Implementations§
impl Freeze for BranchNode
impl RefUnwindSafe for BranchNode
impl Send for BranchNode
impl Sync for BranchNode
impl Unpin for BranchNode
impl UnwindSafe for BranchNode
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