pub struct ContextInternal { /* private fields */ }Implementations§
Source§impl ContextInternal
impl ContextInternal
pub fn from_runtime_internal_rc( rc: Rc<RuntimeInternal>, ) -> Result<Self, ContextError>
pub unsafe fn from_runtime_raw( ptr: *mut JSRuntime, ) -> Result<Self, ContextError>
pub unsafe fn as_ptr(&self) -> *mut JSContext
pub fn runtime_internal_rc(&self) -> Rc<RuntimeInternal>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContextInternal
impl RefUnwindSafe for ContextInternal
impl !Send for ContextInternal
impl !Sync for ContextInternal
impl Unpin for ContextInternal
impl UnwindSafe for ContextInternal
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