Struct bumpalo::ChunkIter[][src]

pub struct ChunkIter<'a> { /* fields omitted */ }

An iterator over each chunk of allocated memory that an arena has bump allocated into.

The chunks are returned ordered by allocation time, with the most recently allocated chunk being returned first.

The values inside each chunk is also ordered by allocation time, with the most recent allocation being earlier in the slice.

This struct is created by the iter_allocated_chunks method on Bump. See that function for a safety description regarding reading from the returned items.

Trait Implementations

impl<'a> Debug for ChunkIter<'a>[src]

impl<'a> FusedIterator for ChunkIter<'a>[src]

impl<'a> Iterator for ChunkIter<'a>[src]

type Item = &'a [MaybeUninit<u8>]

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a> !Send for ChunkIter<'a>[src]

impl<'a> !Sync for ChunkIter<'a>[src]

impl<'a> Unpin for ChunkIter<'a>[src]

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, 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.