Trait Mergeable

Source
pub trait Mergeable {
    // Required method
    fn merge(lch: &Self, rch: &Self) -> Self;
}
Expand description

Trait for merging two child nodes to extract the parent node in the SMT.

Required Methods§

Source

fn merge(lch: &Self, rch: &Self) -> Self

A function to merge two child nodes as the parent node in the SMT.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§