[][src]Trait spirit::fragment::Stackable

pub trait Stackable { }

A trait to mark Fragments that can form collections.

If it makes sense to use collections of the fragment (eg. Vec<F> or HashSet<F>) in the configuration, in addition to implementing the Fragment trait, mark the fragment by this trait. Then a default implementation of Fragment will be provided for the common collections.

Implementors

Loading content...