[][src]Struct staticvec::StaticVecIterMut

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

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

Methods

impl<'a, T: 'a, const N: usize> StaticVecIterMut<'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 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. Though this is a mutable iterator, the slice cannot be mutable as it would lead to aliasing issues.

Trait Implementations

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

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

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

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

type Item = &'a mut T

The type of the elements being iterated over.

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

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

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

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

Auto Trait Implementations

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

impl<'a, const N: usize, T> !UnwindSafe for StaticVecIterMut<'a, T, N>

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

Blanket Implementations

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

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

type Error = !

The type returned in the event of a conversion error.

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, U> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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