Struct wasmi::FuncRef
[−]
[src]
pub struct FuncRef(_);
Reference to a function (See FuncInstance
for details).
This reference has a reference-counting semantics.
Methods from Deref<Target = FuncInstance>
pub fn signature(&self) -> &Signature
[src]
Returns signature of this function instance.
This function instance can only be called with matching signatures.
Trait Implementations
impl Clone for FuncRef
[src]
fn clone(&self) -> FuncRef
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for FuncRef
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Deref for FuncRef
[src]
type Target = FuncInstance
The resulting type after dereferencing.
fn deref(&self) -> &FuncInstance
[src]
Dereferences the value.