pub trait AsRaw<T: 'static> { fn as_raw(&self) -> *mut T; fn into_raw(self) -> *mut T; }
Receive the underlying raw pointer
Get a reference of the underlying struct.
The reference count will not be increased.
Convert the object into the underlying pointer.
You are responsible for freeing the object.