Struct safer_ffi::closure::borrowed::RefDynFnMut4
source · #[repr(C)]pub struct RefDynFnMut4<'lt, Ret, A4, A3, A2, A1>{ /* private fields */ }
Expand description
Implementations§
source§impl<'lt, Ret, A4, A3, A2, A1> RefDynFnMut4<'lt, Ret, A4, A3, A2, A1>
impl<'lt, Ret, A4, A3, A2, A1> RefDynFnMut4<'lt, Ret, A4, A3, A2, A1>
pub fn new<F>(f: &'lt mut F) -> Self
Trait Implementations§
source§impl<Ret, A4, A3, A2, A1> Debug for RefDynFnMut4<'_, Ret, A4, A3, A2, A1>
impl<Ret, A4, A3, A2, A1> Debug for RefDynFnMut4<'_, Ret, A4, A3, A2, A1>
source§impl<'lt, F, Ret, A4, A3, A2, A1> From<&'lt mut F> for RefDynFnMut4<'lt, Ret, A4, A3, A2, A1>
impl<'lt, F, Ret, A4, A3, A2, A1> From<&'lt mut F> for RefDynFnMut4<'lt, Ret, A4, A3, A2, A1>
source§fn from(f: &'lt mut F) -> Self
fn from(f: &'lt mut F) -> Self
Converts to this type from the input type.
source§impl<'lt, Ret, A4, A3, A2, A1> ReprC for RefDynFnMut4<'lt, Ret, A4, A3, A2, A1>where
Ret: ReprC + ReprC,
A4: ReprC + ReprC,
A3: ReprC + ReprC,
A2: ReprC + ReprC,
A1: ReprC + ReprC,
NonNull<c_void>: ConcreteReprC,
unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC,
PhantomData<&'lt ()>: ConcreteReprC,
impl<'lt, Ret, A4, A3, A2, A1> ReprC for RefDynFnMut4<'lt, Ret, A4, A3, A2, A1>where
Ret: ReprC + ReprC,
A4: ReprC + ReprC,
A3: ReprC + ReprC,
A2: ReprC + ReprC,
A1: ReprC + ReprC,
NonNull<c_void>: ConcreteReprC,
unsafe extern "C" fn(env_ptr: NonNull<c_void>, _: A4, _: A3, _: A2, _: A1) -> Ret: ConcreteReprC,
PhantomData<&'lt ()>: ConcreteReprC,
impl<Ret, A4, A3, A2, A1> Send for RefDynFnMut4<'_, Ret, A4, A3, A2, A1>
&'_ mut (dyn Send + ...) : Send
Auto Trait Implementations§
impl<'lt, Ret, A4, A3, A2, A1> Freeze for RefDynFnMut4<'lt, Ret, A4, A3, A2, A1>
impl<'lt, Ret, A4, A3, A2, A1> RefUnwindSafe for RefDynFnMut4<'lt, Ret, A4, A3, A2, A1>
impl<'lt, Ret, A4, A3, A2, A1> !Sync for RefDynFnMut4<'lt, Ret, A4, A3, A2, A1>
impl<'lt, Ret, A4, A3, A2, A1> Unpin for RefDynFnMut4<'lt, Ret, A4, A3, A2, A1>
impl<'lt, Ret, A4, A3, A2, A1> UnwindSafe for RefDynFnMut4<'lt, Ret, A4, A3, A2, A1>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> FitForCBox for T
impl<T> FitForCBox for T
§type CBoxWrapped = Box_<T>
type CBoxWrapped = Box_<T>
Available on crate feature
alloc
only.