Trait udev::AsRaw[][src]

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

Receive the underlying raw pointer

Required methods

fn as_raw(&self) -> *mut T[src]

Get a reference of the underlying struct.

The reference count will not be increased.

fn into_raw(self) -> *mut T[src]

Convert the object into the underlying pointer.

You are responsible for freeing the object.

Loading content...

Implementors

Loading content...