pub trait Collection {
type Scalar;
}Expand description
A trait for collections of scalars.
This trait defines an associated type Scalar, representing the type of elements
in the collection.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<E> Collection for (E, E, E, E)
impl<E> Collection for (E, E, E, E)
Source§impl<T> Collection for &Twhere
T: Collection,
Implementation of Collection for references to collections.
impl<T> Collection for &Twhere
T: Collection,
Implementation of Collection for references to collections.
type Scalar = <T as Collection>::Scalar
Source§impl<T> Collection for &mut Twhere
T: Collection,
Implementation of Collection for mutable references to collections.
impl<T> Collection for &mut Twhere
T: Collection,
Implementation of Collection for mutable references to collections.