#[repr(C)]pub struct CFTreeContext {
pub version: CFIndex,
pub info: *mut c_void,
pub retain: CFTreeRetainCallBack,
pub release: CFTreeReleaseCallBack,
pub copyDescription: CFTreeCopyDescriptionCallBack,
}
CFTree
only.Expand description
Structure containing user-specified data and callbacks for a CFTree. Field: version The version number of the structure type being passed in as a parameter to the CFTree creation function. This structure is version 0. Field: info A C pointer to a user-specified block of data. Field: retain The callback used to add a retain for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: release The calllback used to remove a retain previously added for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: copyDescription The callback used to provide a description of the info field.
See also Apple’s documentation
Fields§
§version: CFIndex
§info: *mut c_void
§retain: CFTreeRetainCallBack
§release: CFTreeReleaseCallBack
§copyDescription: CFTreeCopyDescriptionCallBack
Trait Implementations§
Source§impl Clone for CFTreeContext
impl Clone for CFTreeContext
Source§fn clone(&self) -> CFTreeContext
fn clone(&self) -> CFTreeContext
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CFTreeContext
impl Debug for CFTreeContext
Source§impl Encode for CFTreeContext
Available on crate feature objc2
only.
impl Encode for CFTreeContext
objc2
only.Source§impl PartialEq for CFTreeContext
impl PartialEq for CFTreeContext
Source§impl RefEncode for CFTreeContext
Available on crate feature objc2
only.
impl RefEncode for CFTreeContext
objc2
only.