pub trait OrderedContainer<T>: Container<T> { }
Expand description

A utility trait to abstract over linear and ordered container-like things, excluding things such as sets and heaps.

This trait is sealed and an implementation detail - its internals should not be relied on by users.

Implementations on Foreign Types§

source§

impl<T: Clone> OrderedContainer<T> for LinkedList<T>

source§

impl OrderedContainer<char> for String

source§

impl<'a> OrderedContainer<char> for &'a str

source§

impl<'a, T: Clone> OrderedContainer<T> for &'a [T]

source§

impl<T: Clone, const N: usize> OrderedContainer<T> for [T; N]

source§

impl<'a, T: Clone, const N: usize> OrderedContainer<T> for &'a [T; N]

source§

impl<T: Clone> OrderedContainer<T> for Vec<T>

source§

impl<T: Clone> OrderedContainer<T> for VecDeque<T>

Implementors§