Enum reproto_ast::Package
[−]
[src]
pub enum Package<'input> { Package { parts: Vec<Loc<Cow<'input, str>>>, }, Error, }
A package declaration.
Variants
Package
A parsed package.
Fields of Package
parts: Vec<Loc<Cow<'input, str>>> |
Error
A recovered error.
Trait Implementations
impl<'input> Debug for Package<'input>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'input> PartialEq for Package<'input>
[src]
fn eq(&self, __arg_0: &Package<'input>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Package<'input>) -> bool
[src]
This method tests for !=
.