Struct safer_ffi::closure::arc::ArcDynFn0 [−][src]
#[repr(C)]pub struct ArcDynFn0<Ret> where
Ret: ReprC, { /* fields omitted */ }
This is supported on crate feature
alloc
only.Expand description
Implementations
Trait Implementations
impl<Ret> ReprC for ArcDynFn0<Ret> where
NonNull<c_void>: ReprC,
<NonNull<c_void> as ReprC>::CLayout: CType<OPAQUE_KIND = Concrete>,
unsafe extern "C" fn(env_ptr: NonNull<c_void>) -> Ret: ReprC,
<unsafe extern "C" fn(env_ptr: NonNull<c_void>) -> 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>,
Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ReprC,
<Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)> as ReprC>::CLayout: CType<OPAQUE_KIND = Concrete>,
Ret: ReprC,
Ret: ReprC,
[src]
impl<Ret> ReprC for ArcDynFn0<Ret> where
NonNull<c_void>: ReprC,
<NonNull<c_void> as ReprC>::CLayout: CType<OPAQUE_KIND = Concrete>,
unsafe extern "C" fn(env_ptr: NonNull<c_void>) -> Ret: ReprC,
<unsafe extern "C" fn(env_ptr: NonNull<c_void>) -> 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>,
Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)>: ReprC,
<Option<unsafe extern "C" fn(env_ptr: NonNull<c_void>)> as ReprC>::CLayout: CType<OPAQUE_KIND = Concrete>,
Ret: ReprC,
Ret: ReprC,
[src]impl<Ret> Send for ArcDynFn0<Ret> where
Ret: ReprC,
[src]
Ret: ReprC,
Arc<dyn Send + Sync + ...> : Send
impl<Ret> Sync for ArcDynFn0<Ret> where
Ret: ReprC,
[src]
Ret: ReprC,
Arc<dyn Send + Sync + ...> : Sync
Auto Trait Implementations
impl<Ret> RefUnwindSafe for ArcDynFn0<Ret>
impl<Ret> Unpin for ArcDynFn0<Ret>
impl<Ret> UnwindSafe for ArcDynFn0<Ret>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ManuallyDropMut for T
[src]
impl<T> ManuallyDropMut for T
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more