Skip to main content

Sequence

Trait Sequence 

Source
pub trait Sequence<L, P> {
    // Required methods
    fn create_child(node: P, id: L) -> Self;
    fn get_path(&self) -> Vec<L>;
}

Required Methods§

Source

fn create_child(node: P, id: L) -> Self

Source

fn get_path(&self) -> Vec<L>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<L> Sequence<L, Arc<ArcIdTree<L>>> for ArcIdTree<L>
where L: Copy,

Source§

impl<L> Sequence<L, Rc<IdTree<L>>> for IdTree<L>
where L: Copy,