Struct SaturatingIterator
pub struct SaturatingIterator { /* private fields */ }
A saturating iterator for usize.
Trait Implementations
impl Iterator for SaturatingIterator
type Item = usize;fn next(&mut self) -> Option<Self::Item>
Auto Trait Implementations
impl Freeze for SaturatingIterator
impl RefUnwindSafe for SaturatingIterator
impl Send for SaturatingIterator
impl Sync for SaturatingIterator
impl Unpin for SaturatingIterator
impl UnsafeUnpin for SaturatingIterator
impl UnwindSafe for SaturatingIterator
Blanket Implementations
impl<I> IntoIterator for SaturatingIterator
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for SaturatingIterator
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for SaturatingIterator
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for SaturatingIterator
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for SaturatingIterator
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for SaturatingIterator
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for SaturatingIterator
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for SaturatingIterator
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>