Enum python_ast::parser::ParserResult
[−]
[src]
pub enum ParserResult { Ok(ParsedAst), Error(ParsedAst), }
The result type returned by Parser
. Both Ok
and Error
variants contain an
instance of ParsedAst
. Ok
variants are considered to be the case where the
TkSlice
was fully consumed.
Variants
Ok(ParsedAst)
Error(ParsedAst)
Trait Implementations
impl Debug for ParserResult
[src]
impl Clone for ParserResult
[src]
fn clone(&self) -> ParserResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more