Trait fuel_merkle::common::Node
source · pub trait Node {
type Key;
// Required methods
fn height(&self) -> u32;
fn leaf_key(&self) -> Self::Key;
fn is_leaf(&self) -> bool;
fn is_node(&self) -> bool;
// Provided method
fn key_size_in_bits() -> usize { ... }
}