Trait FromVoid

Source
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