#[repr(C)]pub struct NSMapTableValueCallBacks {
pub retain: Option<unsafe extern "C" fn(_: NonNull<NSMapTable>, _: NonNull<c_void>)>,
pub release: Option<unsafe extern "C" fn(_: NonNull<NSMapTable>, _: NonNull<c_void>)>,
pub describe: Option<unsafe extern "C" fn(_: NonNull<NSMapTable>, _: NonNull<c_void>) -> *mut NSString>,
}
Available on crate features
NSMapTable
and NSString
only.Fields§
§retain: Option<unsafe extern "C" fn(_: NonNull<NSMapTable>, _: NonNull<c_void>)>
§release: Option<unsafe extern "C" fn(_: NonNull<NSMapTable>, _: NonNull<c_void>)>
§describe: Option<unsafe extern "C" fn(_: NonNull<NSMapTable>, _: NonNull<c_void>) -> *mut NSString>
Trait Implementations§
source§impl Clone for NSMapTableValueCallBacks
impl Clone for NSMapTableValueCallBacks
source§fn clone(&self) -> NSMapTableValueCallBacks
fn clone(&self) -> NSMapTableValueCallBacks
Returns a copy 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 moresource§impl Debug for NSMapTableValueCallBacks
impl Debug for NSMapTableValueCallBacks
source§impl Encode for NSMapTableValueCallBacks
impl Encode for NSMapTableValueCallBacks
source§impl PartialEq for NSMapTableValueCallBacks
impl PartialEq for NSMapTableValueCallBacks
source§fn eq(&self, other: &NSMapTableValueCallBacks) -> bool
fn eq(&self, other: &NSMapTableValueCallBacks) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RefEncode for NSMapTableValueCallBacks
impl RefEncode for NSMapTableValueCallBacks
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSMapTableValueCallBacks
impl StructuralPartialEq for NSMapTableValueCallBacks
Auto Trait Implementations§
impl Freeze for NSMapTableValueCallBacks
impl RefUnwindSafe for NSMapTableValueCallBacks
impl Send for NSMapTableValueCallBacks
impl Sync for NSMapTableValueCallBacks
impl Unpin for NSMapTableValueCallBacks
impl UnwindSafe for NSMapTableValueCallBacks
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.