Struct wasmi::Signature
[−]
[src]
pub struct Signature { /* fields omitted */ }
Signature of a function.
Signature of a function consists of zero or more parameter types and zero or one return type.
Two signatures are considered equal if they have equal list of parameters and equal return types.
Methods
impl Signature
[src]
fn new<C: Into<Cow<'static, [ValueType]>>>(
params: C,
return_type: Option<ValueType>
) -> Signature
[src]
params: C,
return_type: Option<ValueType>
) -> Signature
fn params(&self) -> &[ValueType]
[src]
fn return_type(&self) -> Option<ValueType>
[src]
Trait Implementations
impl Debug for Signature
[src]
impl Clone for Signature
[src]
fn clone(&self) -> Signature
[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 PartialEq for Signature
[src]
fn eq(&self, __arg_0: &Signature) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Signature) -> bool
[src]
This method tests for !=
.