Struct quickjs_runtime::quickjsruntime::QuickJsRuntime[][src]

pub struct QuickJsRuntime { /* fields omitted */ }

Implementations

Safety

When passing a context pointer please make sure the corresponding QuickJsContext is still valid

run the garbage collector

run pending jobs if avail

todo

move this to a quickjs_utils::pending_jobs so it can be used without doing QuickjsRuntime.do_with()

this method tries to load a module script using the runtimes script_module loaders

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.