pub trait TCFTypeRef {
    // Required methods
    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§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> TCFTypeRef for *const T

source§

impl<T> TCFTypeRef for *mut T

Implementors§