glib::translate

Trait IntoGlibPtr

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

Translate to a pointer.

Required Methods§

Source

unsafe fn into_glib_ptr(self) -> P

Transfer: full.

Implementations on Foreign Types§

Source§

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

Source§

unsafe fn into_glib_ptr(self) -> P

Implementors§