Struct cranelift_entity::Keys[][src]

pub struct Keys<K: EntityRef> { /* fields omitted */ }

Iterate over all keys in order.

Implementations

impl<K: EntityRef> Keys<K>[src]

pub fn with_len(len: usize) -> Self[src]

Create a Keys iterator that visits len entities starting from 0.

Trait Implementations

impl<K: EntityRef> DoubleEndedIterator for Keys<K>[src]

impl<K: EntityRef> ExactSizeIterator for Keys<K>[src]

impl<K: EntityRef> Iterator for Keys<K>[src]

type Item = K

The type of the elements being iterated over.

Auto Trait Implementations

impl<K> Send for Keys<K> where
    K: Send

impl<K> Sync for Keys<K> where
    K: Sync

impl<K> Unpin for Keys<K> where
    K: Unpin

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.