[−][src]Struct libffi::high::arity9::Cif9
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]
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
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,