Struct cardinal_codegen::function::FunctionSignature[][src]

pub struct FunctionSignature {
    pub arguments: Vec<AbiParam>,
    pub returns: AbiType,
}
Expand description

A function signature that allows the code generator to verify function calls and references.

Fields

arguments: Vec<AbiParam>

A list of arguments in the function signature, which are checked at compile time to verify their validity.

returns: AbiType

A return value of the function. Defaults to void.

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.