RustObject

Type Alias RustObject 

Source
pub type RustObject = Arc<Mutex<dyn Any>>;
Expand description

Type alias for Rust objects.

Aliased Type§

pub struct RustObject { /* private fields */ }

Trait Implementations§

Source§

impl PopVariable for RustObject

Source§

fn pop_var(rt: &Runtime, var: &Variable) -> Result<Self, String>

Converts variable to self. The variable should be looked up before call.
Source§

impl PushVariable for RustObject

Source§

fn push_var(&self) -> Variable

Converts from self to variable.