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

Trait Implementations

impl<'input> Debug for File<'input>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'input> PartialEq for File<'input>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'input> Eq for File<'input>
[src]

Auto Trait Implementations

impl<'input> Send for File<'input>

impl<'input> Sync for File<'input>