[][src]Struct libffi::high::arity9::Cif9

pub struct Cif9<A, B, C, D, E, F, G, H, I, R> { /* fields omitted */ }

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

Methods

impl<A, B, C, D, E, F, G, H, I, R> Cif9<A, B, C, D, E, F, G, H, I, R>[src]

pub fn new(
    A: Type<A>,
    B: Type<B>,
    C: Type<C>,
    D: Type<D>,
    E: Type<E>,
    F: Type<F>,
    G: Type<G>,
    H: Type<H>,
    I: Type<I>,
    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.

impl<A: CType, B: CType, C: CType, D: CType, E: CType, F: CType, G: CType, H: CType, I: CType, R: CType> Cif9<A, B, C, D, E, F, G, H, I, R>[src]

pub fn reify() -> Self[src]

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

Auto Trait Implementations

impl<A, B, C, D, E, F, G, H, I, R> !Send for Cif9<A, B, C, D, E, F, G, H, I, R>

impl<A, B, C, D, E, F, G, H, I, R> !Sync for Cif9<A, B, C, D, E, F, G, H, I, R>

impl<A, B, C, D, E, F, G, H, I, R> Unpin for Cif9<A, B, C, D, E, F, G, H, I, R>

impl<A, B, C, D, E, F, G, H, I, R> UnwindSafe for Cif9<A, B, C, D, E, F, G, H, I, R>

impl<A, B, C, D, E, F, G, H, I, R> RefUnwindSafe for Cif9<A, B, C, D, E, F, G, H, I, R>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]