pub fn new<H: Hasher>(key: NodeStateKey) -> Self {
        const INIT: Option<HistoryChildState> = None;
        HistoryNodeState {
            value: from_digest::<H>(H::hash(&EMPTY_VALUE)),
            child_states: [INIT; ARITY],
            key,
        }
    }
/// Creates a new [HistoryNodeState]
Creates a new [HistoryNodeState]
Creates a new [ HistoryNodeState ]
pub fn new<H: Hasher>(key: NodeStateKey) -> Self {
        const INIT: Option<HistoryChildState> = None;
        HistoryNodeState {
            value: from_digest::<H>(H::hash(&EMPTY_VALUE)),
            child_states: [INIT; ARITY],
            key,
        }
    }
pub fn new < H : Hasher > ( key : NodeStateKey ) -> Self { const INIT : Option < HistoryChildState > = None ; HistoryNodeState { value : from_digest :: < H > ( H :: hash ( & EMPTY_VALUE ) ) , child_states : [ INIT ; ARITY ] , key , } }
Creates a new [HistoryNodeState]
Creates a new [ HistoryNodeState ]
key
NodeStateKey
key
NodeStateKey