NameVec

Trait NameVec 

Source
trait NameVec<T>{
    // Required methods
    fn remove_item<S: NameMember>(&mut self, item: &S) -> bool;
    fn add_item(&mut self, name: T);
    fn remove_duplicates(&mut self) -> &mut Self;
    fn intersection<S>(&mut self, others: &[S])
       where S: NameMember + Canonicalization + Clone;
    fn difference(&mut self, others: &[T]);
}
Expand description

Supporting algorithms on lists of elements and lists of attributes, from the specification.

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl<T> NameVec<T> for Vec<T>

Implementors§