Trait zeroconf::ffi::FromRaw[][src]

pub trait FromRaw<T> {
    unsafe fn from_raw<'a>(raw: *mut c_void) -> &'a mut T { ... }
}
Expand description

Helper trait to convert a raw *mut c_void to it’s rust type

Provided methods

Converts the specified *mut c_void to a &'a mut T.

Safety

This function is unsafe due to the dereference of the specified raw pointer.

Implementors