[][src]Struct naia_shared::SequenceIterator

pub struct SequenceIterator<'s, T> where
    T: 's + Clone
{ /* fields omitted */ }

Iterator for a Sequence

Implementations

impl<'s, T: Clone> SequenceIterator<'s, T>[src]

pub fn new(
    seq_buf: &'s SequenceBuffer<T>,
    start: u16,
    count: usize,
    reverse: bool
) -> SequenceIterator<'s, T>
[src]

Create a new iterator for a sequence

pub fn next(&mut self) -> Option<(SequenceNumber, &'s T)>[src]

Get next value in the sequence

Auto Trait Implementations

impl<'s, T> RefUnwindSafe for SequenceIterator<'s, T> where
    T: RefUnwindSafe

impl<'s, T> Send for SequenceIterator<'s, T> where
    T: Sync

impl<'s, T> Sync for SequenceIterator<'s, T> where
    T: Sync

impl<'s, T> Unpin for SequenceIterator<'s, T>

impl<'s, T> UnwindSafe for SequenceIterator<'s, T> 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<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<V, T> VZip<V> for T where
    V: MultiLane<T>,