Enum reproto_parser::ast::Value
[−]
[src]
pub enum Value<'input> { String(String), Number(RpNumber), Boolean(bool), Identifier(&'input str), Array(Vec<Loc<Value<'input>>>), Object(Loc<Object<'input>>), }
Variants
String(String)
Number(RpNumber)
Boolean(bool)
Identifier(&'input str)
Array(Vec<Loc<Value<'input>>>)
Object(Loc<Object<'input>>)
Trait Implementations
impl<'input> Debug for Value<'input>
[src]
impl<'input> PartialEq for Value<'input>
[src]
fn eq(&self, __arg_0: &Value<'input>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Value<'input>) -> bool
This method tests for !=
.
impl<'input> Clone for Value<'input>
[src]
fn clone(&self) -> Value<'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