Struct reproto_parser::ast::Instance
[−]
[src]
pub struct Instance<'input> { pub name: RpName, pub arguments: Loc<Vec<Loc<FieldInit<'input>>>>, }
Fields
name: RpName
arguments: Loc<Vec<Loc<FieldInit<'input>>>>
Trait Implementations
impl<'input> Debug for Instance<'input>
[src]
impl<'input> PartialEq for Instance<'input>
[src]
fn eq(&self, __arg_0: &Instance<'input>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Instance<'input>) -> bool
This method tests for !=
.
impl<'input> Clone for Instance<'input>
[src]
fn clone(&self) -> Instance<'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 Instance<'input>
[src]
type Output = RpInstance
fn into_model(self) -> Result<RpInstance>
Convert the current type to a model.