Trait IntoGlibPtr

pub trait IntoGlibPtr<P>
where P: Ptr,
{ // Required method fn into_glib_ptr(self) -> P; }
Expand description

Translate to a pointer.

Required Methods§

fn into_glib_ptr(self) -> P

Transfer: full.

Implementations on Foreign Types§

§

impl IntoGlibPtr<*mut cairo_device_t> for Device

§

fn into_glib_ptr(self) -> *mut cairo_device_t

§

impl IntoGlibPtr<*mut cairo_region_t> for Region

§

fn into_glib_ptr(self) -> *mut cairo_region_t

§

impl IntoGlibPtr<*mut cairo_surface_t> for ImageSurface

§

fn into_glib_ptr(self) -> *mut cairo_surface_t

§

impl IntoGlibPtr<*mut cairo_surface_t> for RecordingSurface

§

fn into_glib_ptr(self) -> *mut cairo_surface_t

§

impl IntoGlibPtr<*mut cairo_surface_t> for Surface

§

fn into_glib_ptr(self) -> *mut cairo_surface_t

§

impl IntoGlibPtr<*mut cairo_t> for Context

§

fn into_glib_ptr(self) -> *mut cairo_t

§

impl<P, T> IntoGlibPtr<P> for Option<T>
where P: Ptr, T: IntoGlibPtr<P>,

§

fn into_glib_ptr(self) -> P

Implementors§