Enum static_analyser::parse::LiteralKind
[−]
[src]
pub enum LiteralKind {
Integer(usize),
Decimal(f64),
String(String),
}Variants
Integer(usize)Decimal(f64)String(String)Trait Implementations
impl Debug for LiteralKind[src]
impl Clone for LiteralKind[src]
fn clone(&self) -> LiteralKind
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 PartialEq for LiteralKind[src]
fn eq(&self, __arg_0: &LiteralKind) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &LiteralKind) -> bool
This method tests for !=.
impl From<usize> for LiteralKind[src]
fn from(other: usize) -> LiteralKind
Performs the conversion.
impl From<f64> for LiteralKind[src]
fn from(other: f64) -> LiteralKind
Performs the conversion.