Trait rune::Parse [−][src]
pub trait Parse where
Self: Sized, { fn parse(p: &mut Parser<'_>) -> Result<Self, ParseError>; }
Expand description
The parse trait, implemented by items that can be parsed.
Required methods
fn parse(p: &mut Parser<'_>) -> Result<Self, ParseError>
fn parse(p: &mut Parser<'_>) -> Result<Self, ParseError>
Parse the current item from the parser.
Implementations on Foreign Types
Parse implementation for something that can be optionally parsed.
Parse implementation for something that is boxed.
Parser implementation for a vector.