pub trait FromGlibContainerAsVec<T, P: Ptr>where
    Self: Sized,{
    // Required methods
    unsafe fn from_glib_none_num_as_vec(ptr: P, num: usize) -> Vec<Self>;
    unsafe fn from_glib_container_num_as_vec(ptr: P, num: usize) -> Vec<Self>;
    unsafe fn from_glib_full_num_as_vec(ptr: P, num: usize) -> Vec<Self>;
}

Required Methods§

source

unsafe fn from_glib_none_num_as_vec(ptr: P, num: usize) -> Vec<Self>

source

unsafe fn from_glib_container_num_as_vec(ptr: P, num: usize) -> Vec<Self>

source

unsafe fn from_glib_full_num_as_vec(ptr: P, num: usize) -> Vec<Self>

Implementations on Foreign Types§

source§

impl FromGlibContainerAsVec<u32, *mut u32> for u32

source§

unsafe fn from_glib_none_num_as_vec(ptr: *mut u32, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec(ptr: *mut u32, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec(ptr: *mut u32, num: usize) -> Vec<Self>

source§

impl FromGlibContainerAsVec<*mut i8, *const *mut i8> for String

source§

unsafe fn from_glib_none_num_as_vec( ptr: *const *mut c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( _: *const *mut c_char, _: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec( _: *const *mut c_char, _: usize ) -> Vec<Self>

source§

impl FromGlibContainerAsVec<i8, *mut i8> for i8

source§

unsafe fn from_glib_none_num_as_vec(ptr: *mut i8, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec(ptr: *mut i8, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec(ptr: *mut i8, num: usize) -> Vec<Self>

source§

impl FromGlibContainerAsVec<*const i8, *const *const i8> for String

source§

unsafe fn from_glib_none_num_as_vec( ptr: *const *const c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( _: *const *const c_char, _: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec( _: *const *const c_char, _: usize ) -> Vec<Self>

source§

impl FromGlibContainerAsVec<u32, *const u32> for u32

source§

impl FromGlibContainerAsVec<i8, *const i8> for i8

source§

impl FromGlibContainerAsVec<u16, *const u16> for u16

source§

impl FromGlibContainerAsVec<*mut i8, *mut *mut i8> for OsString

source§

unsafe fn from_glib_none_num_as_vec( ptr: *mut *mut c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( ptr: *mut *mut c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec( ptr: *mut *mut c_char, num: usize ) -> Vec<Self>

source§

impl FromGlibContainerAsVec<f64, *const f64> for f64

source§

impl FromGlibContainerAsVec<f32, *mut f32> for f32

source§

unsafe fn from_glib_none_num_as_vec(ptr: *mut f32, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec(ptr: *mut f32, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec(ptr: *mut f32, num: usize) -> Vec<Self>

source§

impl FromGlibContainerAsVec<*mut i8, *mut *mut i8> for PathBuf

source§

unsafe fn from_glib_none_num_as_vec( ptr: *mut *mut c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( ptr: *mut *mut c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec( ptr: *mut *mut c_char, num: usize ) -> Vec<Self>

source§

impl FromGlibContainerAsVec<*mut i8, *const *mut i8> for PathBuf

source§

unsafe fn from_glib_none_num_as_vec( ptr: *const *mut c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( _: *const *mut c_char, _: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec( _: *const *mut c_char, _: usize ) -> Vec<Self>

source§

impl FromGlibContainerAsVec<i32, *const i32> for i32

source§

impl FromGlibContainerAsVec<u64, *const u64> for u64

source§

impl FromGlibContainerAsVec<u64, *mut u64> for u64

source§

unsafe fn from_glib_none_num_as_vec(ptr: *mut u64, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec(ptr: *mut u64, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec(ptr: *mut u64, num: usize) -> Vec<Self>

source§

impl FromGlibContainerAsVec<i16, *const i16> for i16

source§

impl FromGlibContainerAsVec<*mut i8, *mut *mut i8> for String

source§

unsafe fn from_glib_none_num_as_vec( ptr: *mut *mut c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( ptr: *mut *mut c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec( ptr: *mut *mut c_char, num: usize ) -> Vec<Self>

source§

impl FromGlibContainerAsVec<u16, *mut u16> for u16

source§

unsafe fn from_glib_none_num_as_vec(ptr: *mut u16, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec(ptr: *mut u16, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec(ptr: *mut u16, num: usize) -> Vec<Self>

source§

impl FromGlibContainerAsVec<i32, *mut i32> for i32

source§

unsafe fn from_glib_none_num_as_vec(ptr: *mut i32, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec(ptr: *mut i32, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec(ptr: *mut i32, num: usize) -> Vec<Self>

source§

impl FromGlibContainerAsVec<*mut i8, *const *mut i8> for OsString

source§

unsafe fn from_glib_none_num_as_vec( ptr: *const *mut c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( _: *const *mut c_char, _: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec( _: *const *mut c_char, _: usize ) -> Vec<Self>

source§

impl FromGlibContainerAsVec<u8, *const u8> for u8

source§

impl FromGlibContainerAsVec<*const i8, *const *const i8> for PathBuf

source§

unsafe fn from_glib_none_num_as_vec( ptr: *const *const c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( _: *const *const c_char, _: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec( _: *const *const c_char, _: usize ) -> Vec<Self>

source§

impl FromGlibContainerAsVec<*const i8, *const *const i8> for OsString

source§

unsafe fn from_glib_none_num_as_vec( ptr: *const *const c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( _: *const *const c_char, _: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec( _: *const *const c_char, _: usize ) -> Vec<Self>

source§

impl FromGlibContainerAsVec<i64, *const i64> for i64

source§

impl FromGlibContainerAsVec<i64, *mut i64> for i64

source§

unsafe fn from_glib_none_num_as_vec(ptr: *mut i64, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec(ptr: *mut i64, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec(ptr: *mut i64, num: usize) -> Vec<Self>

source§

impl FromGlibContainerAsVec<*const i8, *mut *const i8> for OsString

source§

unsafe fn from_glib_none_num_as_vec( ptr: *mut *const c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( ptr: *mut *const c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec( ptr: *mut *const c_char, num: usize ) -> Vec<Self>

source§

impl FromGlibContainerAsVec<bool, *mut i32> for bool

source§

unsafe fn from_glib_none_num_as_vec(ptr: *mut gboolean, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( ptr: *mut gboolean, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec(ptr: *mut gboolean, num: usize) -> Vec<Self>

source§

impl FromGlibContainerAsVec<*const i8, *mut *const i8> for PathBuf

source§

unsafe fn from_glib_none_num_as_vec( ptr: *mut *const c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( ptr: *mut *const c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec( ptr: *mut *const c_char, num: usize ) -> Vec<Self>

source§

impl FromGlibContainerAsVec<f32, *const f32> for f32

source§

impl FromGlibContainerAsVec<i16, *mut i16> for i16

source§

unsafe fn from_glib_none_num_as_vec(ptr: *mut i16, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec(ptr: *mut i16, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec(ptr: *mut i16, num: usize) -> Vec<Self>

source§

impl FromGlibContainerAsVec<bool, *const i32> for bool

source§

unsafe fn from_glib_none_num_as_vec( ptr: *const gboolean, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( _: *const gboolean, _: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec(_: *const gboolean, _: usize) -> Vec<Self>

source§

impl FromGlibContainerAsVec<u8, *mut u8> for u8

source§

unsafe fn from_glib_none_num_as_vec(ptr: *mut u8, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec(ptr: *mut u8, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec(ptr: *mut u8, num: usize) -> Vec<Self>

source§

impl FromGlibContainerAsVec<*const i8, *mut *const i8> for String

source§

unsafe fn from_glib_none_num_as_vec( ptr: *mut *const c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec( ptr: *mut *const c_char, num: usize ) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec( ptr: *mut *const c_char, num: usize ) -> Vec<Self>

source§

impl FromGlibContainerAsVec<f64, *mut f64> for f64

source§

unsafe fn from_glib_none_num_as_vec(ptr: *mut f64, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_container_num_as_vec(ptr: *mut f64, num: usize) -> Vec<Self>

source§

unsafe fn from_glib_full_num_as_vec(ptr: *mut f64, num: usize) -> Vec<Self>

Implementors§

source§

impl FromGlibContainerAsVec<*const i8, *const *const i8> for GString

source§

impl FromGlibContainerAsVec<*const i8, *mut *const i8> for GString

source§

impl FromGlibContainerAsVec<*mut i8, *const *mut i8> for GString

source§

impl FromGlibContainerAsVec<*mut i8, *mut *mut i8> for GString

source§

impl FromGlibContainerAsVec<Type, *const usize> for Type

source§

impl FromGlibContainerAsVec<Type, *mut usize> for Type

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,