Struct libffi::high::arity3::Cif3
[−]
[src]
pub struct Cif3<A, B, C, R> { /* fields omitted */ }
A typed CIF, which statically tracks argument and result types.
Methods
impl<A, B, C, R> Cif3<A, B, C, R>
[src]
pub fn new(A: Type<A>, B: Type<B>, C: Type<C>, result: Type<R>) -> Self
[src]
Creates a new statically-typed CIF with the given argument and result types.
pub fn set_abi(&mut self, abi: FfiAbi)
[src]
Sets the CIF to use the given calling convention.