Enum reproto_ast::Value
[−]
[src]
pub enum Value<'input> { String(String), Number(RpNumber), Identifier(Cow<'input, str>), Array(Vec<Loc<Value<'input>>>), }
A literal value
For example, "string"
, 42.0
, and foo
.
Variants
String(String)
Number(RpNumber)
Identifier(Cow<'input, str>)
Array(Vec<Loc<Value<'input>>>)
Trait Implementations
impl<'input> Debug for Value<'input>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'input> PartialEq for Value<'input>
[src]
fn eq(&self, __arg_0: &Value<'input>) -> bool
[src]
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
[src]
This method tests for !=
.