Trait gbm::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>