pub trait HomogenousVariadic<T>: Variadic + Sealed<T> {
type IntoIter: Iterator<Item = T>;
// Required methods
fn get(&self, i: usize) -> Option<&T>;
fn get_mut(&mut self, i: usize) -> Option<&mut T>;
fn into_iter(self) -> Self::IntoIter;
}Expand description
A variadic where all elements are the same type, T.
This is a sealed trait.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".