Trait pmhelp::exts::ParseBufferExt[][src]

pub trait ParseBufferExt {
    fn peek_and_consume<T, P>(&self, token: T) -> bool
    where
        P: Parse,
        T: Peek<Token = P>
; }

Required methods

Peeks to see if a token is present. If it is, then it consumes the token and returns true.

Implementations on Foreign Types

Implementors