Skip to main content

StoreTrees

Trait StoreTrees 

Source
pub trait StoreTrees<T>
where T: 'static,
{ // Required method fn tree( self, children: impl Fn(Option<u64>) -> Vec<u64> + 'static, ) -> StoreTree<T>; }
Expand description

store.tree(children_of): the hierarchical source for super::tree.

Required Methods§

Source

fn tree( self, children: impl Fn(Option<u64>) -> Vec<u64> + 'static, ) -> StoreTree<T>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> StoreTrees<T> for Store<Keyed<T>>
where T: Identified + Clone + 'static,