Trait HasItem
enso_prelude
pub trait HasItem { type Item; }
Type family for structures containing items.
type Item
impl<T> HasItem for Option<T>
type Item = T
impl<T> HasItem for Cell<T>
impl<T> HasItem for RefCell<T>