Skip to main content

Runtime

Struct Runtime 

Source
pub(super) struct Runtime {
Show 42 fields pub retain: FuncId, pub release: FuncId, pub equal: FuncId, pub store: FuncId, pub float_rem: FuncId, pub string_new: FuncId, pub string_concat: FuncId, pub string_len: FuncId, pub string_compare: FuncId, pub text_new: FuncId, pub text_push_str: FuncId, pub text_push: FuncId, pub text_finish: FuncId, pub list_new: FuncId, pub list_len: FuncId, pub list_get: FuncId, pub list_push: FuncId, pub list_remove: FuncId, pub list_item_mut: FuncId, pub struct_new: FuncId, pub struct_get: FuncId, pub struct_field_mut: FuncId, pub state: FuncId, pub state_mut: FuncId, pub enter: FuncId, pub leave: FuncId, pub fail_divide_by_zero: FuncId, pub fail_too_large: FuncId, pub fail_download_into_variable: FuncId, pub fail_dialog_into_variable: FuncId, pub show_same: FuncId, pub show_item: FuncId, pub show_view: FuncId, pub download: FuncId, pub format_bytes: FuncId, pub download_command: FuncId, pub pick: FuncId, pub window: FuncId, pub int: DataId, pub float: DataId, pub bool: DataId, pub string: DataId,
}

Fields§

§retain: FuncId§release: FuncId§equal: FuncId§store: FuncId§float_rem: FuncId§string_new: FuncId§string_concat: FuncId§string_len: FuncId§string_compare: FuncId§text_new: FuncId§text_push_str: FuncId§text_push: FuncId§text_finish: FuncId§list_new: FuncId§list_len: FuncId§list_get: FuncId§list_push: FuncId§list_remove: FuncId§list_item_mut: FuncId§struct_new: FuncId§struct_get: FuncId§struct_field_mut: FuncId§state: FuncId§state_mut: FuncId§enter: FuncId§leave: FuncId§fail_divide_by_zero: FuncId§fail_too_large: FuncId§fail_download_into_variable: FuncId§fail_dialog_into_variable: FuncId§show_same: FuncId§show_item: FuncId§show_view: FuncId§download: FuncId§format_bytes: FuncId§download_command: FuncId§pick: FuncId§window: FuncId§int: DataId§float: DataId§bool: DataId§string: DataId

Implementations§

Source§

impl Runtime

Source

pub fn import<M: Module>(emitter: &mut Emitter<M>) -> Result<Self, CodegenError>

Trait Implementations§

Source§

impl Debug for Runtime

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> AutoreleaseSafe for T
where T: ?Sized,

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.