pub trait KeyFactory<K> {
    // Required methods
    fn key(&self) -> K;
    fn child_of(&self, parent: &Self) -> bool;
}

Required Methods§

source

fn key(&self) -> K

source

fn child_of(&self, parent: &Self) -> bool

Object Safety§

This trait is not object safe.

Implementors§