[][src]Struct solana_libra_vm::file_format::FunctionSignature

pub struct FunctionSignature {
    pub return_types: Vec<SignatureToken>,
    pub arg_types: Vec<SignatureToken>,
    pub type_formals: Vec<Kind>,
}

A FunctionSignature describes the types of a function.

The FunctionSignature is polymorphic: it can have type parameters in the argument and return types and carries kind constraints for those type parameters (empty list for non-generic functions).

Fields

return_types: Vec<SignatureToken>

The list of return types.

arg_types: Vec<SignatureToken>

The list of arguments to the function.

type_formals: Vec<Kind>

The type formals (identified by their index into the vec) and their kind constraints

Trait Implementations

impl<'_> BoundsCheck<&'_ CompiledModuleMut> for FunctionSignature[src]

impl Clone for FunctionSignature[src]

impl Debug for FunctionSignature[src]

impl Eq for FunctionSignature[src]

impl Hash for FunctionSignature[src]

impl PartialEq<FunctionSignature> for FunctionSignature[src]

impl StructuralEq for FunctionSignature[src]

impl StructuralPartialEq for FunctionSignature[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,