pub trait AsRaw<T: 'static> {
    fn as_raw(&self) -> *mut T;
fn into_raw(self) -> *mut T; }
Expand description

Receive the underlying raw pointer

Required methods

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.

Implementors