#[repr(C)]pub struct Runtime { /* private fields */ }
Implementations§
Source§impl Runtime
impl Runtime
pub fn drain_microtasks(self: Pin<&mut Self>, max_microtasks_hint: i32) -> bool
Source§impl Runtime
impl Runtime
pub fn instrumentation(self: Pin<&mut Self>) -> Pin<&mut Instrumentation>
Source§impl Runtime
impl Runtime
pub fn evaluate_javascript( self: Pin<&mut Runtime>, buffer: &SharedPtr<Buffer>, source_url: &str, ) -> UniquePtr<JsiValue>
pub fn prepare_javascript( self: Pin<&mut Runtime>, buffer: &SharedPtr<Buffer>, source_url: &str, ) -> SharedPtr<ConstPreparedJavaScript>
pub fn evaluate_prepared_javascript( self: Pin<&mut Runtime>, js: &SharedPtr<ConstPreparedJavaScript>, ) -> UniquePtr<JsiValue>
pub fn global(self: Pin<&mut Runtime>) -> UniquePtr<JsiObject>
pub fn description(self: Pin<&mut Runtime>) -> UniquePtr<CxxString>
Trait Implementations§
Source§impl ExternType for Runtime
impl ExternType for Runtime
impl UniquePtrTarget for Runtime
Auto Trait Implementations§
impl !Freeze for Runtime
impl RefUnwindSafe for Runtime
impl !Send for Runtime
impl !Sync for Runtime
impl !Unpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more