Enum reproto_ast::AttributeItem [] [src]

pub enum AttributeItem<'input> {
    Word(Loc<Value<'input>>),
    NameValue {
        name: Loc<Cow<'input, str>>,
        value: Loc<Value<'input>>,
    },
}

Name value pair.

Is associated with attributes:

This example is not tested
#[attribute(name = <value>)]

Variants

Fields of NameValue

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

impl<'input> Send for AttributeItem<'input>

impl<'input> Sync for AttributeItem<'input>