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]
pub fn signature(&self) -> &Signature
Returns signature of this function instance.
This function instance can only be called with matching signatures.
Trait Implementations
impl Clone for FuncRef
[src]
impl Clone for FuncRef
fn clone(&self) -> FuncRef
[src]
fn clone(&self) -> FuncRef
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for FuncRef
[src]
impl Debug for FuncRef
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Deref for FuncRef
[src]
impl Deref for FuncRef
type Target = FuncInstance
The resulting type after dereferencing.
fn deref(&self) -> &FuncInstance
[src]
fn deref(&self) -> &FuncInstance
Dereferences the value.