Trait glib::translate::FromGlibPtrContainer [−][src]
pub trait FromGlibPtrContainer<P: Ptr, PP: Ptr>: FromGlibContainer<P, PP> + Sized { unsafe fn from_glib_none(ptr: PP) -> Self; unsafe fn from_glib_container(ptr: PP) -> Self; unsafe fn from_glib_full(ptr: PP) -> Self; }
Translate from a container of pointers.
Required Methods
unsafe fn from_glib_none(ptr: PP) -> Self
Transfer: none.
unsafe fn from_glib_container(ptr: PP) -> Self
Transfer: container.
unsafe fn from_glib_full(ptr: PP) -> Self
Transfer: full.
Implementations on Foreign Types
impl<P: Ptr, PP: Ptr, T: FromGlibPtrArrayContainerAsVec<P, PP>> FromGlibPtrContainer<P, PP> for Vec<T>
[src]
impl<P: Ptr, PP: Ptr, T: FromGlibPtrArrayContainerAsVec<P, PP>> FromGlibPtrContainer<P, PP> for Vec<T>
unsafe fn from_glib_none(ptr: PP) -> Vec<T>
[src]
unsafe fn from_glib_none(ptr: PP) -> Vec<T>
unsafe fn from_glib_container(ptr: PP) -> Vec<T>
[src]
unsafe fn from_glib_container(ptr: PP) -> Vec<T>
unsafe fn from_glib_full(ptr: PP) -> Vec<T>
[src]
unsafe fn from_glib_full(ptr: PP) -> Vec<T>
impl FromGlibPtrContainer<*const c_char, *mut GHashTable> for HashMap<String, String>
[src]
impl FromGlibPtrContainer<*const c_char, *mut GHashTable> for HashMap<String, String>
unsafe fn from_glib_none(ptr: *mut GHashTable) -> Self
[src]
unsafe fn from_glib_none(ptr: *mut GHashTable) -> Self
unsafe fn from_glib_container(ptr: *mut GHashTable) -> Self
[src]
unsafe fn from_glib_container(ptr: *mut GHashTable) -> Self
unsafe fn from_glib_full(ptr: *mut GHashTable) -> Self
[src]
unsafe fn from_glib_full(ptr: *mut GHashTable) -> Self