pub trait ParsePeeked<T>: Parse {
// Required method
fn parse_from_with_peeked(
parser: &mut Parser,
parsed: T,
) -> Result<Self, Self::Error>;
}Expand description
Types that may be parsed using a peek into itself
Required Methods§
fn parse_from_with_peeked( parser: &mut Parser, parsed: T, ) -> Result<Self, Self::Error>
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.