Struct reproto_parser::ast::UseDecl [] [src]

pub struct UseDecl<'input> {
    pub package: Loc<RpPackage>,
    pub version_req: Option<Loc<VersionReq>>,
    pub alias: Option<Loc<&'input str>>,
}

Fields

Trait Implementations

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

[src]

Formats the value using the given formatter.

impl<'input> PartialEq for UseDecl<'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 UseDecl<'input>
[src]