[][src]Enum wolfram_wxf::WolframValue

pub enum WolframValue {
    Skip,
    Function(Box<WolframValue>, Vec<WolframValue>),
    String(Box<str>),
    Bytes(Vec<u8>),
    Symbol(Box<str>),
    Integer8(i8),
    Integer16(i16),
    Integer32(i32),
    Integer64(i64),
    BigInteger(BigInt),
    Decimal64([u8; 8]),
    BigDecimal(Box<str>),
    PackedArray(Vec<WolframValue>),
    NumericArray(Vec<WolframValue>),
    Association(BTreeMap<WolframValue, (WolframValue, WolframValue)>),
    Rule,
    RuleDelayed,
}

Variants

Skip

Function with name, args

String(Box<str>)
Bytes(Vec<u8>)
Symbol(Box<str>)
Integer8(i8)
Integer16(i16)
Integer32(i32)
Integer64(i64)
BigInteger(BigInt)
Decimal64([u8; 8])

Do not use f64, because partial order cannot be defined

BigDecimal(Box<str>)
PackedArray(Vec<WolframValue>)

Need to optimize

NumericArray(Vec<WolframValue>)

Need to optimize

Record with key, rule, value

Rule
RuleDelayed

Implementations

impl WolframValue[src]

pub fn to_string(&self) -> String[src]

pub fn to_bytes(&self) -> Vec<u8>[src]

pub fn to_compressed(&self) -> Vec<u8>[src]

impl WolframValue[src]

Trait Implementations

impl Clone for WolframValue[src]

impl Debug for WolframValue[src]

impl Display for WolframValue[src]

impl Eq for WolframValue[src]

impl Ord for WolframValue[src]

impl PartialEq<WolframValue> for WolframValue[src]

impl PartialOrd<WolframValue> for WolframValue[src]

impl StructuralEq for WolframValue[src]

impl StructuralPartialEq for WolframValue[src]

impl ToWolfram for WolframValue[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.