Struct libffi::high::arity2::Cif2 [] [src]

pub struct Cif2<A, B, R> { /* fields omitted */ }

A typed CIF, which statically tracks argument and result types.

Methods

impl<A, B, R> Cif2<A, B, R>
[src]

Creates a new statically-typed CIF with the given argument and result types.

Sets the CIF to use the given calling convention.

impl<A: CType, B: CType, R: CType> Cif2<A, B, R>
[src]

Creates a new statically-typed CIF by reifying the argument types as Type<T>s.