Module libffi::high::arity1

source ·
Expand description

CIF and closure types organized by function arity.

Structs

  • A typed CIF, which statically tracks argument and result types.
  • An immutable, typed closure with the given argument and result types.
  • A mutable, typed closure with the given argument and result types.
  • A one-shot, typed closure with the given argument and result types.
  • A lifetime carrying wrapper type for fn pointers.

Type Definitions

  • The type of function called from an immutable, typed closure.
  • The type of function called from a mutable, typed closure.
  • The type of function called from a one-shot, typed closure.