pub enum PragmaValue {
Paren(Box<PragmaValueParen>),
Number(Box<Number>),
StringLiteral(Box<StringLiteral>),
Identifier(Box<Identifier>),
}
Variants§
Paren(Box<PragmaValueParen>)
Number(Box<Number>)
StringLiteral(Box<StringLiteral>)
Identifier(Box<Identifier>)
Trait Implementations§
source§impl Clone for PragmaValue
impl Clone for PragmaValue
source§fn clone(&self) -> PragmaValue
fn clone(&self) -> PragmaValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PragmaValue
impl Debug for PragmaValue
source§impl<'a> From<&'a PragmaValue> for RefNode<'a>
impl<'a> From<&'a PragmaValue> for RefNode<'a>
source§fn from(x: &'a PragmaValue) -> Self
fn from(x: &'a PragmaValue) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a PragmaValue> for RefNodes<'a>
impl<'a> From<&'a PragmaValue> for RefNodes<'a>
source§fn from(x: &'a PragmaValue) -> Self
fn from(x: &'a PragmaValue) -> Self
Converts to this type from the input type.
source§impl From<PragmaValue> for AnyNode
impl From<PragmaValue> for AnyNode
source§fn from(x: PragmaValue) -> Self
fn from(x: PragmaValue) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a PragmaValue
impl<'a> IntoIterator for &'a PragmaValue
source§impl PartialEq<PragmaValue> for PragmaValue
impl PartialEq<PragmaValue> for PragmaValue
source§fn eq(&self, other: &PragmaValue) -> bool
fn eq(&self, other: &PragmaValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.