HaystackCursor

Trait HaystackCursor 

Source
pub trait HaystackCursor: Iterator<Item = char> + Clone {
    // Required method
    fn peek(&self) -> Option<char>;
}

Required Methods§

Source

fn peek(&self) -> Option<char>

Peek at the next character without advancing

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.

Implementors§