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]

[src]

Creates new signature with givens parameter types and optional return type.

Important traits for &'a mut [u8]
[src]

Returns parameter types of this signature.

[src]

Returns return type of this signature.

Trait Implementations

impl Debug for Signature
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Signature
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Signature
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Signature
[src]

Auto Trait Implementations

impl Send for Signature

impl Sync for Signature