Struct libffi::high::arity7::ClosureOnce7 [] [src]

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

A one-shot, typed closure with the given argument and result types.

Methods

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

Constructs a typed closure callable from C from a Rust closure.

impl<A: Copy, B: Copy, C: Copy, D: Copy, E: Copy, F: Copy, G: Copy, R> ClosureOnce7<A, B, C, D, E, F, G, R>
[src]

Constructs a one-shot closure callable from C from a CIF describing the calling convention for the resulting function and the Rust closure to call.

impl<A, B, C, D, E, F, G, R> ClosureOnce7<A, B, C, D, E, F, G, R>
[src]

Gets the C code pointer that is used to invoke the closure.

Constructs a one-shot closure callable from C from a CIF describing the calling convention for the resulting function, a callback for the function to call, and userdata to pass to the callback.