pub unsafe trait FromMutVoid {
    // Required method
    unsafe fn from_mut_void<'a>(x: *mut c_void) -> ItemMutRef<'a, Self>
       where Self: Sized;
}
Expand description

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

Required Methods§

source

unsafe fn from_mut_void<'a>(x: *mut c_void) -> ItemMutRef<'a, Self>where Self: Sized,

Implementations on Foreign Types§

source§

impl FromMutVoid for *const c_void

source§

unsafe fn from_mut_void<'a>(x: *mut c_void) -> ItemMutRef<'a, Self>

source§

impl FromMutVoid for u32

source§

unsafe fn from_mut_void<'a>(x: *mut c_void) -> ItemMutRef<'a, Self>

Implementors§