Skip to main content

ListTypeIteratorAdvance

Trait ListTypeIteratorAdvance 

Source
pub trait ListTypeIteratorAdvance<P>: Sized + List{
    // Required method
    fn advancer<R>(
        iter: &mut ListTypeIterator<R, P>,
    ) -> Option<<P as ListTypeProperty>::Output>
       where R: List;
}
Expand description

Advance function provider used by ListTypeIterator.

Required Methods§

Source

fn advancer<R>( iter: &mut ListTypeIterator<R, P>, ) -> Option<<P as ListTypeProperty>::Output>
where R: List,

Advance the iterator, returning the next property value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<P, H, T> ListTypeIteratorAdvance<P> for (H, T)
where P: ListTypeProperty, H: 'static, T: ListTypeIteratorAdvance<P>,

Source§

fn advancer<R>( iter: &mut ListTypeIterator<R, P>, ) -> Option<<P as ListTypeProperty>::Output>
where R: List,

Source§

impl<P> ListTypeIteratorAdvance<P> for ()

Source§

fn advancer<R>( _iter: &mut ListTypeIterator<R, P>, ) -> Option<<P as ListTypeProperty>::Output>
where R: List,

Implementors§