Enum reproto_ast::Package [] [src]

pub enum Package<'input> {
    Package {
        parts: Vec<Loc<Cow<'input, str>>>,
    },
    Error,
}

A package declaration.

Variants

A parsed package.

Fields of Package

A recovered error.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

impl<'input> Send for Package<'input>

impl<'input> Sync for Package<'input>