Struct reproto_parser::ast::OptionDecl [] [src]

pub struct OptionDecl<'input> {
    pub name: &'input str,
    pub value: Loc<Value<'input>>,
}

Fields

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

impl<'input> OptionEntry for OptionDecl<'input>
[src]

[src]

Get the name of the option.

[src]

Get the value as a string.

[src]

Get the value as an 32-bit unsigned integer.

[src]

Get the value as an identifier.