pub struct wasmtime_externref_t { /* private fields */ }
Implementations§
Source§impl wasmtime_externref_t
impl wasmtime_externref_t
pub unsafe fn as_wasmtime(&self) -> Option<ManuallyRooted<ExternRef>>
Trait Implementations§
Source§impl From<Option<ManuallyRooted<ExternRef>>> for wasmtime_externref_t
impl From<Option<ManuallyRooted<ExternRef>>> for wasmtime_externref_t
Source§fn from(rooted: Option<ManuallyRooted<ExternRef>>) -> wasmtime_externref_t
fn from(rooted: Option<ManuallyRooted<ExternRef>>) -> wasmtime_externref_t
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for wasmtime_externref_t
impl RefUnwindSafe for wasmtime_externref_t
impl Send for wasmtime_externref_t
impl Sync for wasmtime_externref_t
impl Unpin for wasmtime_externref_t
impl UnwindSafe for wasmtime_externref_t
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