Struct libffi::high::arity5::ClosureMut5 [] [src]

pub struct ClosureMut5<'a, A, B, C, D, E, R> { /* fields omitted */ }

A mutable, typed closure with the given argument and result types.

Methods

impl<'a, A: CType, B: CType, C: CType, D: CType, E: CType, R: CType> ClosureMut5<'a, A, B, C, D, E, R>
[src]

[src]

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

impl<'a, A, B, C, D, E, R> ClosureMut5<'a, A, B, C, D, E, R>
[src]

[src]

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

[src]

Constructs a typed 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.

impl<'a, A: Copy, B: Copy, C: Copy, D: Copy, E: Copy, R> ClosureMut5<'a, A, B, C, D, E, R>
[src]

[src]

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