[−][src]Struct mech_wasm::Core
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]
&mut self,
canvas: &HtmlCanvasElement
) -> Result<(), JsValue>
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
unsafe fn from_abi(js: u32, _extra: &mut dyn Stack) -> Self
[src]
impl IntoWasmAbi for Core
[src]
type Abi = u32
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, _extra: &mut dyn Stack) -> u32
[src]
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
unsafe fn ref_from_abi(js: Self::Abi, _extra: &mut dyn Stack) -> Self::Anchor
[src]
impl RefMutFromWasmAbi for Core
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi