Trait AsRaw

Source
pub trait AsRaw<T> {
    // Required method
    fn as_raw(&self) -> *const T;
}
Expand description

Trait for types that allow to obtain the underlying raw libinput pointer.

Required Methods§

Source

fn as_raw(&self) -> *const T

Receive a raw pointer representing this type.

Implementors§

Source§

impl<T: 'static> AsRaw<gbm_bo> for BufferObject<T>

Source§

impl<T: 'static> AsRaw<gbm_surface> for Surface<T>

Source§

impl<T: AsFd> AsRaw<gbm_device> for Device<T>