pub unsafe trait FromVoid {
    // Required method
    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§

source

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

Implementations on Foreign Types§

source§

impl FromVoid for *const c_void

source§

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

source§

impl FromVoid for u32

source§

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

Implementors§

source§

impl<T: TCFType> FromVoid for T