Trait LeafValueComparer

Source
pub trait LeafValueComparer<V> {
    // Required method
    fn eq(a: &V, b: &V) -> bool;
}
Expand description

Define how to compare leaf values in tree

Required Methods§

Source

fn eq(a: &V, b: &V) -> bool

Whether two leaf values are equal and can be merged if they are neighbors keys

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§