Place

Trait Place 

Source
pub trait Place<T>: AsRef<[Element<T>]> { }
Expand description

The custom storage place of Elements in the slot.

This trait should not be directly implemented; users should implement AsRef to [Element<T>] instead. We don’t make this trait an alias of core::ops::Deref because arrays don’t implement this trait.

Implementors§

Source§

impl<T, P> Place<T> for P
where P: AsRef<[Element<T>]>,