Trait RawContainer

Source
pub unsafe trait RawContainer<T> {
    type Cont<V>;
}
Expand description

RawContainer defines a standard interface for all containers that are used to store other entities.

Required Associated Types§

Source

type Cont<V>

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> RawContainer<T> for Box<T>

Source§

type Cont<V> = Box<V>

Source§

impl<T> RawContainer<T> for BTreeSet<T>

Source§

type Cont<V> = BTreeSet<V>

Source§

impl<T> RawContainer<T> for LinkedList<T>

Source§

impl<T> RawContainer<T> for Rc<T>

Source§

type Cont<V> = Rc<V>

Source§

impl<T> RawContainer<T> for Arc<T>

Source§

type Cont<V> = Arc<V>

Source§

impl<T> RawContainer<T> for Vec<T>

Source§

type Cont<V> = Vec<V>

Implementors§