Struct reproto_ast::File
[−]
[src]
pub struct File<'input> { pub comment: Vec<Cow<'input, str>>, pub attributes: Vec<Loc<Attribute<'input>>>, pub uses: Vec<Loc<UseDecl<'input>>>, pub decls: Vec<Decl<'input>>, }
A file.
ⓘThis example is not tested
<uses> <options> <decls>
Fields
comment: Vec<Cow<'input, str>>
attributes: Vec<Loc<Attribute<'input>>>
uses: Vec<Loc<UseDecl<'input>>>
decls: Vec<Decl<'input>>
Trait Implementations
impl<'input> Debug for File<'input>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'input> PartialEq for File<'input>
[src]
fn eq(&self, __arg_0: &File<'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: &File<'input>) -> bool
[src]
This method tests for !=
.