pub trait ExExactSizeIterator: Iterator {
type ExternalTraitSpecificationFor: ExactSizeIterator;
// Required methods
spec fn exact_len(&self) -> usize;
exec fn len(&self) -> len : usize;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".