pub enum PrimaryLiteral {
Number(Box<Number>),
TimeLiteral(Box<TimeLiteral>),
UnbasedUnsizedLiteral(Box<UnbasedUnsizedLiteral>),
StringLiteral(Box<StringLiteral>),
}
Variants§
Number(Box<Number>)
TimeLiteral(Box<TimeLiteral>)
UnbasedUnsizedLiteral(Box<UnbasedUnsizedLiteral>)
StringLiteral(Box<StringLiteral>)
Trait Implementations§
source§impl Clone for PrimaryLiteral
impl Clone for PrimaryLiteral
source§fn clone(&self) -> PrimaryLiteral
fn clone(&self) -> PrimaryLiteral
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 PrimaryLiteral
impl Debug for PrimaryLiteral
source§impl<'a> From<&'a PrimaryLiteral> for RefNode<'a>
impl<'a> From<&'a PrimaryLiteral> for RefNode<'a>
source§fn from(x: &'a PrimaryLiteral) -> Self
fn from(x: &'a PrimaryLiteral) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a PrimaryLiteral> for RefNodes<'a>
impl<'a> From<&'a PrimaryLiteral> for RefNodes<'a>
source§fn from(x: &'a PrimaryLiteral) -> Self
fn from(x: &'a PrimaryLiteral) -> Self
Converts to this type from the input type.
source§impl From<PrimaryLiteral> for AnyNode
impl From<PrimaryLiteral> for AnyNode
source§fn from(x: PrimaryLiteral) -> Self
fn from(x: PrimaryLiteral) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a PrimaryLiteral
impl<'a> IntoIterator for &'a PrimaryLiteral
source§impl PartialEq<PrimaryLiteral> for PrimaryLiteral
impl PartialEq<PrimaryLiteral> for PrimaryLiteral
source§fn eq(&self, other: &PrimaryLiteral) -> bool
fn eq(&self, other: &PrimaryLiteral) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.