Trait Peek

Source
pub trait Peek: Sealed { }
Expand description

Types that can be parsed by looking at a single token.

This trait is sealed, and cannot be implemented for types outside of this crate.

Implementors§

Source§

impl<F: FnOnce(Marker) -> T, T: Token> Peek for F