Trait glib::translate::FromGlibPtrContainer [] [src]

pub trait FromGlibPtrContainer<P: Ptr, PP: Ptr>: Sized {
    unsafe fn from_glib_none(ptr: PP) -> Self;
    unsafe fn from_glib_none_num(ptr: PP, num: usize) -> Self;
    unsafe fn from_glib_container(ptr: PP) -> Self;
    unsafe fn from_glib_container_num(ptr: PP, num: usize) -> Self;
    unsafe fn from_glib_full(ptr: PP) -> Self;
    unsafe fn from_glib_full_num(ptr: PP, num: usize) -> Self;
}

Translate from a container of pointers.

Required Methods

unsafe fn from_glib_none(ptr: PP) -> Self

Transfer: none.

unsafe fn from_glib_none_num(ptr: PP, num: usize) -> Self

Transfer: none.

num is the advised number of elements.

unsafe fn from_glib_container(ptr: PP) -> Self

Transfer: container.

unsafe fn from_glib_container_num(ptr: PP, num: usize) -> Self

Transfer: container.

num is the advised number of elements.

unsafe fn from_glib_full(ptr: PP) -> Self

Transfer: full.

unsafe fn from_glib_full_num(ptr: PP, num: usize) -> Self

Transfer: full.

num is the advised number of elements.

Implementors