Trait wolfram_wxf::ToWolfram
source · pub trait ToWolfram {
// Required method
fn to_wolfram(&self) -> WolframValue;
// Provided methods
fn to_wolfram_string(&self) -> String { ... }
fn to_wolfram_bytes(&self) -> Vec<u8> { ... }
fn to_wolfram_solid(&self) -> Vec<u8> { ... }
}
Expand description
The WolframLib
struct is the main entry point for the library.
Required Methods§
sourcefn to_wolfram(&self) -> WolframValue
fn to_wolfram(&self) -> WolframValue
Converts the value to a WolframValue
value.
Provided Methods§
sourcefn to_wolfram_string(&self) -> String
fn to_wolfram_string(&self) -> String
Converts the value to a WolframValue
in string form.
sourcefn to_wolfram_bytes(&self) -> Vec<u8>
fn to_wolfram_bytes(&self) -> Vec<u8>
Converts the value to a WolframValue
in bytes form.
sourcefn to_wolfram_solid(&self) -> Vec<u8>
fn to_wolfram_solid(&self) -> Vec<u8>
Converts the value to a WolframValue
in compressed bytes form.