Trait SubTree

Source
pub trait SubTree<Vs>: SubTreeCore<Vs>
where Vs: TreeVariant,
{ }
Expand description

A subtree is a subset of a tree, also having a single root and satisfying structural tree properties.

SubTree implementations are used to efficiently and conveniently move parts of the tree between different trees.

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§

Source§

impl<Vs, S> SubTree<Vs> for S
where Vs: TreeVariant, S: SubTreeCore<Vs>,