pub trait IntoNonEmptyIterator: IntoIterator {
type IntoNEIter: NonEmptyIterator<Item = Self::Item>;
// Required method
fn into_nonempty_iter(self) -> Self::IntoNEIter;
}Expand description
Conversion into a NonEmptyIterator.
Required Associated Types§
Sourcetype IntoNEIter: NonEmptyIterator<Item = Self::Item>
type IntoNEIter: NonEmptyIterator<Item = Self::Item>
Which kind of NonEmptyIterator are we turning this into?
Required Methods§
Sourcefn into_nonempty_iter(self) -> Self::IntoNEIter
fn into_nonempty_iter(self) -> Self::IntoNEIter
Creates a NonEmptyIterator from a value.