[][src]Struct mech_wasm::Core

pub struct Core { /* fields omitted */ }

Methods

impl Core[src]

pub fn new() -> Core[src]

pub fn compile_code(&mut self, code: String)[src]

pub fn clear(&mut self)[src]

pub fn pause(&mut self)[src]

pub fn resume(&mut self)[src]

pub fn step_back_one(&mut self)[src]

pub fn step_forward_one(&mut self)[src]

pub fn display_core(&self)[src]

pub fn display_runtime(&self)[src]

pub fn display_changes(&self)[src]

pub fn render(&mut self)[src]

pub fn queue_change(&mut self, table: String, row: u32, column: u32, value: i32)[src]

pub fn process_transaction(&mut self)[src]

pub fn get_mantissas(&mut self, table: String, column: u32) -> Vec<i32>[src]

pub fn get_ranges(&mut self, table: String, column: u32) -> Vec<i32>[src]

pub fn get_column(&mut self, table: String, column: u32) -> Vec<f32>[src]

pub fn add_application(&mut self) -> Result<(), JsValue>[src]

pub fn render_canvas(
    &mut self,
    canvas: &HtmlCanvasElement
) -> Result<(), JsValue>
[src]

pub fn list_global_tables(&self) -> Result<(), JsValue>[src]

Trait Implementations

impl From<Core> for JsValue[src]

impl FromWasmAbi for Core[src]

type Abi = u32

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for Core[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl WasmDescribe for Core[src]

impl OptionFromWasmAbi for Core[src]

impl OptionIntoWasmAbi for Core[src]

impl RefFromWasmAbi for Core[src]

type Abi = u32

The wasm ABI type references to Self are recovered from.

type Anchor = Ref<'static, Core>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl RefMutFromWasmAbi for Core[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, Core>

Same as RefFromWasmAbi::Anchor

Auto Trait Implementations

impl !Send for Core

impl !Sync for Core

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi