Trait safer_ffi::boxed::FitForCBox

source ·
pub trait FitForCBox {
    type CBoxWrapped;
}
Available on crate feature alloc only.

Required Associated Types§

Implementations on Foreign Types§

source§

impl<Ret> FitForCBox for dyn Send + FnMut() -> Ret + 'static
where Ret: ReprC,

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]

Implementors§

source§

impl<T: Sized> FitForCBox for T