[][src]Struct staticvec::StaticVecIterConst

pub struct StaticVecIterConst<'a, T: 'a, const N: usize> { /* fields omitted */ }

Similar to Iter, but specifically implemented with StaticVecs in mind.

Implementations

impl<'a, T: 'a, const N: usize> StaticVecIterConst<'a, T, N>[src]

pub fn bounds_to_string(&self) -> String where
    T: Debug
[src]

This is supported on feature="std" only.

Returns a string displaying the current values of the iterator's start and end elements on two separate lines. Locally requires that T implements Debug to make it possible to pretty-print the elements.

pub const fn as_slice(&self) -> &'a [T][src]

Returns an immutable slice consisting of the elements in the range between the iterator's start and end pointers.

Trait Implementations

impl<'a, T: 'a, const N: usize> Clone for StaticVecIterConst<'a, T, N>[src]

impl<'a, T: 'a + Debug, const N: usize> Debug for StaticVecIterConst<'a, T, N>[src]

impl<'a, T: 'a, const N: usize> DoubleEndedIterator for StaticVecIterConst<'a, T, N>[src]

impl<'a, T: 'a, const N: usize> ExactSizeIterator for StaticVecIterConst<'a, T, N>[src]

impl<'a, T: 'a, const N: usize> FusedIterator for StaticVecIterConst<'a, T, N>[src]

impl<'a, T: 'a, const N: usize> Iterator for StaticVecIterConst<'a, T, N>[src]

type Item = &'a T

The type of the elements being iterated over.

impl<'a, T: 'a + Sync, const N: usize> Send for StaticVecIterConst<'a, T, N>[src]

impl<'a, T: 'a + Sync, const N: usize> Sync for StaticVecIterConst<'a, T, N>[src]

impl<'a, T: 'a, const N: usize> TrustedLen for StaticVecIterConst<'a, T, N>[src]

Auto Trait Implementations

impl<'a, const N: usize, T> RefUnwindSafe for StaticVecIterConst<'a, T, N> where
    T: RefUnwindSafe

impl<'a, const N: usize, T> Unpin for StaticVecIterConst<'a, T, N>

impl<'a, const N: usize, T> UnwindSafe for StaticVecIterConst<'a, T, N> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.