[][src]Enum purescript_corefn::Literal

pub enum Literal {
    Array {
        value: Vec<Expression>,
    },
    Boolean {
        value: bool,
    },
    Char {
        value: char,
    },
    Int {
        value: i64,
    },
    Number {
        value: f64,
    },
    Object {
        value: Vec<(String, Expression)>,
    },
    String {
        value: String,
    },
}

Variants

Array

Fields of Array

value: Vec<Expression>
Boolean

Fields of Boolean

value: bool
Char

Fields of Char

value: char
Int

Fields of Int

value: i64
Number

Fields of Number

value: f64
Object

Fields of Object

value: Vec<(String, Expression)>
String

Fields of String

value: String

Trait Implementations

impl Clone for Literal[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<Literal> for Literal[src]

impl Debug for Literal[src]

impl<'de> Deserialize<'de> for Literal[src]

Auto Trait Implementations

impl Send for Literal

impl Sync for Literal

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]