Module traits

Module traits 

Source
Expand description

Traits that closure-ffi uses to power its functionality.

Traitsยง

Any
Dummy trait implemented by every type.
FnMutThunk
Trait implemented by (CC, FnMut) tuples used to generate a bare function thunk template, where CC is a calling convention marker type.
FnOnceThunk
Trait implemented by (CC, FnOnce) tuples used to generate a bare function thunk template, where CC is a calling convention marker type.
FnPtr
Trait implemented by unsafe function pointer types of up to 12 arguments.
FnThunk
Trait implemented by (CC, Fn) tuples used to generate a bare function thunk template, where CC is a calling convention marker type.
PackedFn
Trait alias for Fn(B::Args<'a, 'b, 'c>) -> B::Ret<'a, 'b, 'c>.
PackedFnMut
Trait alias for FnMut(B::Args<'a, 'b, 'c>) -> B::Ret<'a, 'b, 'c>.
PackedFnOnce
Trait alias for FnOnce(B::Args<'a, 'b, 'c>) -> B::Ret<'a, 'b, 'c>.
ToBoxedDyn
Trait to construct a Box<dyn Trait> from a type implementing Unsize<dyn Trait>.