Trait core_foundation::base::FromVoid[][src]

pub unsafe trait FromVoid {
    unsafe fn from_void<'a>(x: *const c_void) -> ItemRef<'a, Self>
    where
        Self: Sized
; }
Expand description

A trait describing how to convert from the stored *const c_void to the desired T

Required methods

unsafe fn from_void<'a>(x: *const c_void) -> ItemRef<'a, Self> where
    Self: Sized
[src]

Implementations on Foreign Types

impl FromVoid for u32[src]

unsafe fn from_void<'a>(x: *const c_void) -> ItemRef<'a, Self>[src]

impl FromVoid for *const c_void[src]

unsafe fn from_void<'a>(x: *const c_void) -> ItemRef<'a, Self>[src]

Implementors

impl<T: TCFType> FromVoid for T[src]

unsafe fn from_void<'a>(x: *const c_void) -> ItemRef<'a, Self>[src]