Expand description
Traits that closure-ffi uses to power its functionality.
Traitsยง
- Any
- Dummy trait implemented by every type.
- FnMut
Thunk - Trait implemented by (
CC,FnMut) tuples used to generate a bare function thunk template, whereCCis a calling convention marker type. - FnOnce
Thunk - Trait implemented by (
CC,FnOnce) tuples used to generate a bare function thunk template, whereCCis 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, whereCCis a calling convention marker type. - Packed
Fn - Trait alias for
Fn(B::Args<'a, 'b, 'c>) -> B::Ret<'a, 'b, 'c>. - Packed
FnMut - Trait alias for
FnMut(B::Args<'a, 'b, 'c>) -> B::Ret<'a, 'b, 'c>. - Packed
FnOnce - Trait alias for
FnOnce(B::Args<'a, 'b, 'c>) -> B::Ret<'a, 'b, 'c>. - ToBoxed
Dyn - Trait to construct a
Box<dyn Trait>from a type implementingUnsize<dyn Trait>.