pub type List<T> = Interned<[T]>;Aliased Type§
pub 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
Source§impl<T> Ord for List<T>
impl<T> Ord for List<T>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more