[−][src]Struct safer_ffi::closure::boxed::BoxDynFnMut5
Implementations
impl<Ret, A5, A4, A3, A2, A1> BoxDynFnMut5<Ret, A5, A4, A3, A2, A1> where
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
[src]
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
pub fn new<F>(f: Box<F>) -> Self where
F: FnMut(A5, A4, A3, A2, A1) -> Ret,
F: Send + 'static,
[src]
F: FnMut(A5, A4, A3, A2, A1) -> Ret,
F: Send + 'static,
impl<Ret, A5, A4, A3, A2, A1> BoxDynFnMut5<Ret, A5, A4, A3, A2, A1> where
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
[src]
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
Trait Implementations
impl<Ret, A5, A4, A3, A2, A1> Debug for BoxDynFnMut5<Ret, A5, A4, A3, A2, A1> where
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
[src]
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
impl<Ret, A5, A4, A3, A2, A1> Drop for BoxDynFnMut5<Ret, A5, A4, A3, A2, A1> where
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
[src]
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
impl<Ret, A5, A4, A3, A2, A1> ReprC for BoxDynFnMut5<Ret, A5, A4, A3, A2, A1> where
NonNull<c_void>: ReprC,
<NonNull<c_void> as ReprC>::CLayout: CType<OPAQUE_KIND = Concrete>,
unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ReprC,
<unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret as ReprC>::CLayout: CType<OPAQUE_KIND = Concrete>,
unsafe extern "C" fn(env_ptr: NonNull<c_void>): ReprC,
<unsafe extern "C" fn(env_ptr: NonNull<c_void>) as ReprC>::CLayout: CType<OPAQUE_KIND = Concrete>,
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
[src]
NonNull<c_void>: ReprC,
<NonNull<c_void> as ReprC>::CLayout: CType<OPAQUE_KIND = Concrete>,
unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret: ReprC,
<unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A5, _: A4, _: A3, _: A2, _: A1) -> Ret as ReprC>::CLayout: CType<OPAQUE_KIND = Concrete>,
unsafe extern "C" fn(env_ptr: NonNull<c_void>): ReprC,
<unsafe extern "C" fn(env_ptr: NonNull<c_void>) as ReprC>::CLayout: CType<OPAQUE_KIND = Concrete>,
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
type CLayout = BoxDynFnMut5_Layout<Ret, A5, A4, A3, A2, A1>
The CType
having the same layout as Self
.
fn is_valid(it: &Self::CLayout) -> bool
[src]
impl<Ret, A5, A4, A3, A2, A1> Send for BoxDynFnMut5<Ret, A5, A4, A3, A2, A1> where
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
[src]
Ret: ReprC,
A5: ReprC,
A4: ReprC,
A3: ReprC,
A2: ReprC,
A1: ReprC,
Box<dyn Send + ...> : Send
Auto Trait Implementations
impl<Ret, A5, A4, A3, A2, A1> RefUnwindSafe for BoxDynFnMut5<Ret, A5, A4, A3, A2, A1>
impl<Ret, A5, A4, A3, A2, A1> !Sync for BoxDynFnMut5<Ret, A5, A4, A3, A2, A1>
impl<Ret, A5, A4, A3, A2, A1> Unpin for BoxDynFnMut5<Ret, A5, A4, A3, A2, A1>
impl<Ret, A5, A4, A3, A2, A1> UnwindSafe for BoxDynFnMut5<Ret, A5, A4, A3, A2, A1>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,