pub trait AdapterWrapped: Adapter {
    type Wrapped: Wrapper<Self::EntryType>;
}
Expand description

A descriptor of wrapped list elements.

Required Associated Types§

source

type Wrapped: Wrapper<Self::EntryType>

Specifies which wrapper (e.g., Box and Arc) wraps the list entries.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: ?Sized> AdapterWrapped for Box<T>
where Box<T>: Adapter,

§

type Wrapped = Box<<Box<T> as Adapter>::EntryType>

source§

impl<T: ?Sized> AdapterWrapped for Arc<T>
where Arc<T>: Adapter,

§

type Wrapped = Arc<<Arc<T> as Adapter>::EntryType>

Implementors§