[−][src]Trait c_closures::FromClosureArgPointer
Provides a general purpose way to deref a structure from a C void pointer. Auto implemented for Copy
types.
Required methods
unsafe fn from_arg_ptr(ptr: *const c_void) -> Self
Safety
Incorrect implementations of this trait may lead to undefined behavior. If you're trying to read out a pointer type, then the pointer passed to this trait is a pointer to your pointer, not the pointer itself.