#[repr(C)]pub struct std_pointer_to_unary_function<_Arg, _Result> {
pub _M_ptr: Option<unsafe extern "C" fn(arg1: _Arg) -> _Result>,
pub _phantom_0: PhantomData<UnsafeCell<_Arg>>,
pub _phantom_1: PhantomData<UnsafeCell<_Result>>,
}Fields§
§_M_ptr: Option<unsafe extern "C" fn(arg1: _Arg) -> _Result>§_phantom_0: PhantomData<UnsafeCell<_Arg>>§_phantom_1: PhantomData<UnsafeCell<_Result>>Trait Implementations§
Source§impl<_Arg: Clone, _Result: Clone> Clone for std_pointer_to_unary_function<_Arg, _Result>
impl<_Arg: Clone, _Result: Clone> Clone for std_pointer_to_unary_function<_Arg, _Result>
Source§fn clone(&self) -> std_pointer_to_unary_function<_Arg, _Result>
fn clone(&self) -> std_pointer_to_unary_function<_Arg, _Result>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<_Arg: Copy, _Result: Copy> Copy for std_pointer_to_unary_function<_Arg, _Result>
Auto Trait Implementations§
impl<_Arg, _Result> Freeze for std_pointer_to_unary_function<_Arg, _Result>
impl<_Arg, _Result> !RefUnwindSafe for std_pointer_to_unary_function<_Arg, _Result>
impl<_Arg, _Result> Send for std_pointer_to_unary_function<_Arg, _Result>
impl<_Arg, _Result> !Sync for std_pointer_to_unary_function<_Arg, _Result>
impl<_Arg, _Result> Unpin for std_pointer_to_unary_function<_Arg, _Result>
impl<_Arg, _Result> UnwindSafe for std_pointer_to_unary_function<_Arg, _Result>where
_Arg: UnwindSafe,
_Result: UnwindSafe,
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