pub(super) trait SpecFromIterNested<T, I> {
    // Required method
    fn from_iter(iter: I) -> Self;
}
Expand description

Another specialization trait for Vec::from_iter necessary to manually prioritize overlapping specializations see SpecFromIter for details.

Required Methods§

source

fn from_iter(iter: I) -> Self

Implementors§

source§

impl<T, I> SpecFromIterNested<T, I> for Vec<T>where I: Iterator<Item = T>,

source§

impl<T, I> SpecFromIterNested<T, I> for Vec<T>where I: TrustedLen<Item = T>,