Docs.rs
safer-ffi-0.1.8
safer-ffi 0.1.8
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
danielhenrymantilla
Dependencies
async-compat ^0.2.1
normal
optional
futures ^0.3.24
normal
optional
inventory ^0.3.5
normal
optional
libc ^0.2.66
normal
log ^0.4.8
normal
optional
macro_rules_attribute ^0.1.3
normal
cratesio-placeholder-package ^0.0.3
normal
optional
once_cell ^1.17.1
normal
optional
paste ^1.0.12
normal
safer_ffi-proc_macros =0.1.8
normal
scopeguard ^1.1.0
normal
tokio ^1.26.0
normal
optional
uninit ^0.5.0
normal
unwind_safe ^0.1.0
normal
with_builtin_macros ^0.0.3
normal
Versions
30.57%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
safer_ffi
0.1.8
FitForCBox
Required Associated Types
CBoxWrapped
Implementations on Foreign Types
[T]
dyn Send + FnMut() -> Ret + 'static
dyn Send + FnMut(A1) -> Ret + 'static
dyn Send + FnMut(A2, A1) -> Ret + 'static
dyn Send + FnMut(A3, A2, A1) -> Ret + 'static
dyn Send + FnMut(A4, A3, A2, A1) -> Ret + 'static
dyn Send + FnMut(A5, A4, A3, A2, A1) -> Ret + 'static
dyn Send + FnMut(A6, A5, A4, A3, A2, A1) -> Ret + 'static
dyn Send + FnMut(A7, A6, A5, A4, A3, A2, A1) -> Ret + 'static
dyn Send + FnMut(A8, A7, A6, A5, A4, A3, A2, A1) -> Ret + 'static
dyn Send + FnMut(A9, A8, A7, A6, A5, A4, A3, A2, A1) -> Ret + 'static
Implementors
In safer_ffi::boxed
Trait
safer_ffi
::
boxed
::
FitForCBox
Copy item path
source
·
[
−
]
pub trait FitForCBox { type
CBoxWrapped
; }
Available on
crate feature
alloc
only.
Required Associated Types
§
source
type
CBoxWrapped
Implementations on Foreign Types
§
source
§
impl<Ret>
FitForCBox
for dyn
Send
+
FnMut
() -> Ret + 'static
where Ret:
ReprC
,
§
type
CBoxWrapped
=
BoxDynFnMut0
<Ret>
source
§
impl<Ret, A1>
FitForCBox
for dyn
Send
+
FnMut
(A1) -> Ret + 'static
where Ret:
ReprC
, A1:
ReprC
,
§
type
CBoxWrapped
=
BoxDynFnMut1
<Ret, A1>
source
§
impl<Ret, A2, A1>
FitForCBox
for dyn
Send
+
FnMut
(A2, A1) -> Ret + 'static
where Ret:
ReprC
, A2:
ReprC
, A1:
ReprC
,
§
type
CBoxWrapped
=
BoxDynFnMut2
<Ret, A2, A1>
source
§
impl<Ret, A3, A2, A1>
FitForCBox
for dyn
Send
+
FnMut
(A3, A2, A1) -> Ret + 'static
where Ret:
ReprC
, A3:
ReprC
, A2:
ReprC
, A1:
ReprC
,
§
type
CBoxWrapped
=
BoxDynFnMut3
<Ret, A3, A2, A1>
source
§
impl<Ret, A4, A3, A2, A1>
FitForCBox
for dyn
Send
+
FnMut
(A4, A3, A2, A1) -> Ret + 'static
where Ret:
ReprC
, A4:
ReprC
, A3:
ReprC
, A2:
ReprC
, A1:
ReprC
,
§
type
CBoxWrapped
=
BoxDynFnMut4
<Ret, A4, A3, A2, A1>
source
§
impl<Ret, A5, A4, A3, A2, A1>
FitForCBox
for dyn
Send
+
FnMut
(A5, A4, A3, A2, A1) -> Ret + 'static
where Ret:
ReprC
, A5:
ReprC
, A4:
ReprC
, A3:
ReprC
, A2:
ReprC
, A1:
ReprC
,
§
type
CBoxWrapped
=
BoxDynFnMut5
<Ret, A5, A4, A3, A2, A1>
source
§
impl<Ret, A6, A5, A4, A3, A2, A1>
FitForCBox
for dyn
Send
+
FnMut
(A6, A5, A4, A3, A2, A1) -> Ret + 'static
where Ret:
ReprC
, A6:
ReprC
, A5:
ReprC
, A4:
ReprC
, A3:
ReprC
, A2:
ReprC
, A1:
ReprC
,
§
type
CBoxWrapped
=
BoxDynFnMut6
<Ret, A6, A5, A4, A3, A2, A1>
source
§
impl<Ret, A7, A6, A5, A4, A3, A2, A1>
FitForCBox
for dyn
Send
+
FnMut
(A7, A6, A5, A4, A3, A2, A1) -> Ret + 'static
where Ret:
ReprC
, A7:
ReprC
, A6:
ReprC
, A5:
ReprC
, A4:
ReprC
, A3:
ReprC
, A2:
ReprC
, A1:
ReprC
,
§
type
CBoxWrapped
=
BoxDynFnMut7
<Ret, A7, A6, A5, A4, A3, A2, A1>
source
§
impl<Ret, A8, A7, A6, A5, A4, A3, A2, A1>
FitForCBox
for dyn
Send
+
FnMut
(A8, A7, A6, A5, A4, A3, A2, A1) -> Ret + 'static
where Ret:
ReprC
, A8:
ReprC
, A7:
ReprC
, A6:
ReprC
, A5:
ReprC
, A4:
ReprC
, A3:
ReprC
, A2:
ReprC
, A1:
ReprC
,
§
type
CBoxWrapped
=
BoxDynFnMut8
<Ret, A8, A7, A6, A5, A4, A3, A2, A1>
source
§
impl<Ret, A9, A8, A7, A6, A5, A4, A3, A2, A1>
FitForCBox
for dyn
Send
+
FnMut
(A9, A8, A7, A6, A5, A4, A3, A2, A1) -> Ret + 'static
where Ret:
ReprC
, A9:
ReprC
, A8:
ReprC
, A7:
ReprC
, A6:
ReprC
, A5:
ReprC
, A4:
ReprC
, A3:
ReprC
, A2:
ReprC
, A1:
ReprC
,
§
type
CBoxWrapped
=
BoxDynFnMut9
<Ret, A9, A8, A7, A6, A5, A4, A3, A2, A1>
source
§
impl<T:
Sized
>
FitForCBox
for
[T]
§
type
CBoxWrapped
=
slice_boxed
<T>
Implementors
§
source
§
impl<T:
Sized
>
FitForCBox
for T
§
type
CBoxWrapped
=
Box_
<T>