Trait core_foundation::base::TCFTypeRef [−][src]
pub trait TCFTypeRef { fn as_void_ptr(&self) -> *const c_void; unsafe fn from_void_ptr(ptr: *const c_void) -> Self; }
Expand description
Trait for all types which are Core Foundation reference types.
Required methods
fn as_void_ptr(&self) -> *const c_void
[src]
unsafe fn from_void_ptr(ptr: *const c_void) -> Self
[src]
Implementations on Foreign Types
impl<T> TCFTypeRef for *const T
[src]
impl<T> TCFTypeRef for *const T
[src]pub fn as_void_ptr(&self) -> *const c_void
[src]
pub unsafe fn from_void_ptr(ptr: *const c_void) -> *const T
[src]
impl<T> TCFTypeRef for *mut T
[src]
impl<T> TCFTypeRef for *mut T
[src]