Struct reproto_parser::ast::OptionDecl
[−]
[src]
pub struct OptionDecl<'input> { pub name: &'input str, pub values: Vec<Loc<Value<'input>>>, }
Fields
name: &'input str
values: Vec<Loc<Value<'input>>>
Trait Implementations
impl<'input> Debug for OptionDecl<'input>
[src]
impl<'input> Clone for OptionDecl<'input>
[src]
fn clone(&self) -> OptionDecl<'input>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'input> IntoModel for OptionDecl<'input>
[src]
type Output = RpOptionDecl
fn into_model(self) -> Result<RpOptionDecl>
Convert the current type to a model.