Container

Trait Container 

Source
pub trait Container<U>
where Self::Cont<U>: RawSpace<Elem = U>,
{ type Cont<V>: ?Sized; }
Expand description

The Container trait is a higher-kinded trait used to establish an interface for defining containers themselves.

Required Associated Types§

Source

type Cont<V>: ?Sized

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<C, U> Container<U> for C
where C: RawSpace<Elem = U>,

Source§

type Cont<V> = C