PosIterProvider

Trait PosIterProvider 

Source
pub trait PosIterProvider {
    // Required method
    fn iter_pos(&self) -> impl PosIterator<'_>;
}
Expand description

Trait for providing iteration over positions

Required Methods§

Source

fn iter_pos(&self) -> impl PosIterator<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl PosIterProvider for Vec<Pos>

Source§

fn iter_pos(&self) -> impl PosIterator<'_> + Clone

Implementors§