Skip to main content

Eat

Trait Eat 

Source
pub trait Eat: Peek<Token = Self::_Token> {
    type _Token: Parse;
}

Required Associated Types§

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§

Source§

impl<T> Eat for T
where T: Peek, T::Token: Parse,

Source§

type _Token = <T as Peek>::Token