Enum hal::state::HalState [-] [+] [src]

pub enum HalState {
    I64(i64),
    F64(f64),
    U64(u64),
    HalString(String),
    Boolean(bool),
    Null,
    List(HalList),
    Object(HalObject),
}

Represents a Hal data value

Variants

I64
F64
U64
HalString
Boolean
Null
List
Object

Trait Implementations

impl ToJson for HalState

fn to_json(&self) -> Json

Derived Implementations

impl Debug for HalState

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for HalState

fn eq(&self, __arg_0: &HalState) -> bool

fn ne(&self, __arg_0: &HalState) -> bool

impl Clone for HalState

fn clone(&self) -> HalState

fn clone_from(&mut self, source: &Self)