pub trait IntoCloningIterable: Iterator + Clone {
// Provided method
fn into_iterable(self) -> CloningIterable<Self> { ... }
}Expand description
Trait to transform types implementing Iterator + Clone into an Iterable.
Resulting iterable is of type CloningIterable.
Provided Methods§
Sourcefn into_iterable(self) -> CloningIterable<Self>
fn into_iterable(self) -> CloningIterable<Self>
Transforms this type implementing Iterator + Clone into an Iterable.
Resulting iterable is of type CloningIterable.
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.