pub type List<T> = Interned<[T]>;
Aliased Type§
struct List<T> {
pub(crate) arc: Arc<[T]>,
}
Fields§
§arc: Arc<[T]>
Implementations§
Source§impl<T> List<T>where
[T]: Internable,
impl<T> List<T>where
[T]: Internable,
Trait Implementations§
Source§impl<T> FromIterator<T> for List<T>where
[T]: Internable,
impl<T> FromIterator<T> for List<T>where
[T]: Internable,
Source§fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
Creates a value from an iterator. Read more