Trait IntoFragments

Source
pub trait IntoFragments<T> {
    // Required method
    fn into_fragments(self) -> impl Iterator<Item = Fragment<T>>;
}
Expand description

Converts self into a collection of Fragments.

Required Methods§

Source

fn into_fragments(self) -> impl Iterator<Item = Fragment<T>>

Converts self into a collection of Fragments.

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.

Implementations on Foreign Types§

Source§

impl<T> IntoFragments<T> for Vec<Vec<T>>

Source§

fn into_fragments(self) -> impl Iterator<Item = Fragment<T>>

Source§

impl<T> IntoFragments<T> for Vec<T>

Source§

fn into_fragments(self) -> impl Iterator<Item = Fragment<T>>

Source§

impl<T, const N: usize> IntoFragments<T> for [Vec<T>; N]

Source§

fn into_fragments(self) -> impl Iterator<Item = Fragment<T>>

Implementors§

Source§

impl<T, G: Growth> IntoFragments<T> for SplitVec<T, G>