pub trait FromTrustedLenIterator<A>: Sized {
// Required method
fn from_iter_trusted_length<T: IntoIterator<Item = A>>(iter: T) -> Self
where T::IntoIter: TrustedLen;
}
Required Methods§
fn from_iter_trusted_length<T: IntoIterator<Item = A>>(iter: T) -> Selfwhere
T::IntoIter: TrustedLen,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.