[][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() -> IO<R> where
    IO<R>: VmType,
    <IO<R> as VmType>::Type: Sized,
    R::Type: Sized
[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

impl<'vm, A, B, C, D, E, F, G, R: VmType> FunctionType for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> R where
    R: VmType,
    <R as VmType>::Type: Sized,
    R::Type: Sized
[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 where
    R: VmType,
    <R as VmType>::Type: Sized,
    R::Type: Sized
[src]

Loading content...

Implementors

Loading content...