pub struct BranchKey {
pub height: u8,
pub node_key: H256,
}
Expand description
The branch key
Fields§
§height: u8
§node_key: H256
Implementations§
Trait Implementations§
Source§impl Ord for BranchKey
impl Ord for BranchKey
Source§impl PartialOrd for BranchKey
impl PartialOrd for BranchKey
impl Eq for BranchKey
impl StructuralPartialEq for BranchKey
Auto Trait Implementations§
impl Freeze for BranchKey
impl RefUnwindSafe for BranchKey
impl Send for BranchKey
impl Sync for BranchKey
impl Unpin for BranchKey
impl UnwindSafe for BranchKey
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