pub struct ExternRefFunction(/* private fields */);
Implementations§
Source§impl ExternRefFunction
impl ExternRefFunction
pub fn invoke<Out, In>(&self, args: In) -> Option<Out>where
In: Serialize,
Out: DeserializeOwned,
Trait Implementations§
Source§impl Clone for ExternRefFunction
impl Clone for ExternRefFunction
Source§fn clone(&self) -> ExternRefFunction
fn clone(&self) -> ExternRefFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExternRefFunction
impl Debug for ExternRefFunction
Source§impl<'de> Deserialize<'de> for ExternRefFunction
impl<'de> Deserialize<'de> for ExternRefFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExternRefFunction
impl RefUnwindSafe for ExternRefFunction
impl Send for ExternRefFunction
impl Sync for ExternRefFunction
impl Unpin for ExternRefFunction
impl UnwindSafe for ExternRefFunction
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