#[repr(C)]pub struct cssm_memory_funcs {
pub malloc_func: CSSM_MALLOC,
pub free_func: CSSM_FREE,
pub realloc_func: CSSM_REALLOC,
pub calloc_func: CSSM_CALLOC,
pub AllocRef: *mut c_void,
}
Available on crate features
cssmconfig
and cssmtype
only.Expand description
Fields§
§malloc_func: CSSM_MALLOC
§free_func: CSSM_FREE
§realloc_func: CSSM_REALLOC
§calloc_func: CSSM_CALLOC
§AllocRef: *mut c_void
Trait Implementations§
Source§impl Clone for cssm_memory_funcs
impl Clone for cssm_memory_funcs
Source§fn clone(&self) -> cssm_memory_funcs
fn clone(&self) -> cssm_memory_funcs
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 moreSource§impl Debug for cssm_memory_funcs
impl Debug for cssm_memory_funcs
Source§impl Encode for cssm_memory_funcs
Available on crate feature objc2
only.
impl Encode for cssm_memory_funcs
Available on crate feature
objc2
only.Source§impl PartialEq for cssm_memory_funcs
impl PartialEq for cssm_memory_funcs
Source§impl RefEncode for cssm_memory_funcs
Available on crate feature objc2
only.
impl RefEncode for cssm_memory_funcs
Available on crate feature
objc2
only.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 cssm_memory_funcs
impl StructuralPartialEq for cssm_memory_funcs
Auto Trait Implementations§
impl Freeze for cssm_memory_funcs
impl RefUnwindSafe for cssm_memory_funcs
impl !Send for cssm_memory_funcs
impl !Sync for cssm_memory_funcs
impl Unpin for cssm_memory_funcs
impl UnwindSafe for cssm_memory_funcs
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.