[][src]Struct memory_pager::Iter

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

Iterator over a Pager instance.

let mut pager = Pager::default();
pager.get_mut_or_alloc(1);
pager.get_mut_or_alloc(2);
pager.get_mut_or_alloc(3);

for page in pager.iter() {
  println!("page {:?}", page);
}

Trait Implementations

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

type Item = &'a Option<Page>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a> Unpin for Iter<'a>

impl<'a> Sync for Iter<'a>

impl<'a> Send for Iter<'a>

impl<'a> UnwindSafe for Iter<'a>

impl<'a> RefUnwindSafe for Iter<'a>

Blanket Implementations

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> From<T> for T[src]

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.

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

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

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