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