pub trait AsCFType {
// Required method
fn as_ptr(&self) -> *mut c_void;
// Provided method
fn to_cf_type(&self) -> CFType { ... }
}Expand description
Trait for Core Foundation values that can be inserted into CF collections.
Required Methods§
Provided Methods§
Sourcefn to_cf_type(&self) -> CFType
fn to_cf_type(&self) -> CFType
Clone this value as an erased CFType.