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