[][src]Trait gluon_vm::api::function::FunctionType

pub trait FunctionType {
    fn arguments() -> VmIndex;
}

Trait which represents a function

Required methods

fn arguments() -> VmIndex

Returns how many arguments the function needs to be provided to call it

Loading content...

Implementations on Foreign Types

impl<'s, T: FunctionType> FunctionType for &'s T[src]

impl<F> FunctionType for Box<F> where
    F: FunctionType
[src]

impl<'vm, R: VmType> FunctionType for fn() -> R[src]

impl<'s, R: VmType> FunctionType for dyn Fn() -> R + 's[src]

impl<'vm, A, R: VmType> FunctionType for fn(_: A) -> R[src]

impl<'s, A, R: VmType> FunctionType for dyn Fn(A) -> R + 's[src]

impl<'vm, A, B, R: VmType> FunctionType for fn(_: A, _: B) -> R[src]

impl<'s, A, B, R: VmType> FunctionType for dyn Fn(A, B) -> R + 's[src]

impl<'vm, A, B, C, R: VmType> FunctionType for fn(_: A, _: B, _: C) -> R[src]

impl<'s, A, B, C, R: VmType> FunctionType for dyn Fn(A, B, C) -> R + 's[src]

impl<'vm, A, B, C, D, R: VmType> FunctionType for fn(_: A, _: B, _: C, _: D) -> R[src]

impl<'s, A, B, C, D, R: VmType> FunctionType for dyn Fn(A, B, C, D) -> R + 's[src]

impl<'vm, A, B, C, D, E, R: VmType> FunctionType for fn(_: A, _: B, _: C, _: D, _: E) -> R[src]

impl<'s, A, B, C, D, E, R: VmType> FunctionType for dyn Fn(A, B, C, D, E) -> R + 's[src]

impl<'vm, A, B, C, D, E, F, R: VmType> FunctionType for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> R[src]

impl<'s, A, B, C, D, E, F, R: VmType> FunctionType for dyn Fn(A, B, C, D, E, F) -> R + 's[src]

impl<'vm, A, B, C, D, E, F, G, R: VmType> FunctionType for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> R[src]

impl<'s, A, B, C, D, E, F, G, R: VmType> FunctionType for dyn Fn(A, B, C, D, E, F, G) -> R + 's[src]

Loading content...

Implementors

Loading content...