[][src]Trait glib::translate::ToGlibContainerFromSlice

pub trait ToGlibContainerFromSlice<'a, P> where
    Self: Sized
{ type Storage; fn to_glib_none_from_slice(t: &'a [Self]) -> (P, Self::Storage);
fn to_glib_container_from_slice(t: &'a [Self]) -> (P, Self::Storage);
fn to_glib_full_from_slice(t: &[Self]) -> P; }

Associated Types

type Storage

Loading content...

Required methods

fn to_glib_none_from_slice(t: &'a [Self]) -> (P, Self::Storage)

fn to_glib_container_from_slice(t: &'a [Self]) -> (P, Self::Storage)

fn to_glib_full_from_slice(t: &[Self]) -> P

Loading content...

Implementations on Foreign Types

impl<'a> ToGlibContainerFromSlice<'a, *mut u8> for u8[src]

type Storage = &'a [u8]

impl<'a> ToGlibContainerFromSlice<'a, *mut i8> for i8[src]

type Storage = &'a [i8]

impl<'a> ToGlibContainerFromSlice<'a, *mut u16> for u16[src]

type Storage = &'a [u16]

impl<'a> ToGlibContainerFromSlice<'a, *mut i16> for i16[src]

type Storage = &'a [i16]

impl<'a> ToGlibContainerFromSlice<'a, *mut u32> for u32[src]

type Storage = &'a [u32]

impl<'a> ToGlibContainerFromSlice<'a, *mut i32> for i32[src]

type Storage = &'a [i32]

impl<'a> ToGlibContainerFromSlice<'a, *mut u64> for u64[src]

type Storage = &'a [u64]

impl<'a> ToGlibContainerFromSlice<'a, *mut i64> for i64[src]

type Storage = &'a [i64]

impl<'a> ToGlibContainerFromSlice<'a, *mut f32> for f32[src]

type Storage = &'a [f32]

impl<'a> ToGlibContainerFromSlice<'a, *mut f64> for f64[src]

type Storage = &'a [f64]

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut i8> for &'a str[src]

type Storage = (Vec<Stash<'a, *mut c_char, &'a str>>, Option<Vec<*mut c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *const *mut i8> for &'a str[src]

type Storage = (Vec<Stash<'a, *mut c_char, &'a str>>, Option<Vec<*mut c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *const i8> for &'a str[src]

type Storage = (Vec<Stash<'a, *const c_char, &'a str>>, Option<Vec<*const c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *const *const i8> for &'a str[src]

type Storage = (Vec<Stash<'a, *const c_char, &'a str>>, Option<Vec<*const c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut i8> for String[src]

type Storage = (Vec<Stash<'a, *mut c_char, String>>, Option<Vec<*mut c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *const *mut i8> for String[src]

type Storage = (Vec<Stash<'a, *mut c_char, String>>, Option<Vec<*mut c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *const i8> for String[src]

type Storage = (Vec<Stash<'a, *const c_char, String>>, Option<Vec<*const c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *const *const i8> for String[src]

type Storage = (Vec<Stash<'a, *const c_char, String>>, Option<Vec<*const c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut i8> for &'a Path[src]

type Storage = (Vec<Stash<'a, *mut c_char, &'a Path>>, Option<Vec<*mut c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *const *mut i8> for &'a Path[src]

type Storage = (Vec<Stash<'a, *mut c_char, &'a Path>>, Option<Vec<*mut c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *const i8> for &'a Path[src]

type Storage = (Vec<Stash<'a, *const c_char, &'a Path>>, Option<Vec<*const c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *const *const i8> for &'a Path[src]

type Storage = (Vec<Stash<'a, *const c_char, &'a Path>>, Option<Vec<*const c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut i8> for PathBuf[src]

type Storage = (Vec<Stash<'a, *mut c_char, PathBuf>>, Option<Vec<*mut c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *const *mut i8> for PathBuf[src]

type Storage = (Vec<Stash<'a, *mut c_char, PathBuf>>, Option<Vec<*mut c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *const i8> for PathBuf[src]

type Storage = (Vec<Stash<'a, *const c_char, PathBuf>>, Option<Vec<*const c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *const *const i8> for PathBuf[src]

type Storage = (Vec<Stash<'a, *const c_char, PathBuf>>, Option<Vec<*const c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut i8> for &'a OsStr[src]

type Storage = (Vec<Stash<'a, *mut c_char, &'a OsStr>>, Option<Vec<*mut c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *const *mut i8> for &'a OsStr[src]

type Storage = (Vec<Stash<'a, *mut c_char, &'a OsStr>>, Option<Vec<*mut c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *const i8> for &'a OsStr[src]

type Storage = (Vec<Stash<'a, *const c_char, &'a OsStr>>, Option<Vec<*const c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *const *const i8> for &'a OsStr[src]

type Storage = (Vec<Stash<'a, *const c_char, &'a OsStr>>, Option<Vec<*const c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut i8> for OsString[src]

type Storage = (Vec<Stash<'a, *mut c_char, OsString>>, Option<Vec<*mut c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *const *mut i8> for OsString[src]

type Storage = (Vec<Stash<'a, *mut c_char, OsString>>, Option<Vec<*mut c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *const i8> for OsString[src]

type Storage = (Vec<Stash<'a, *const c_char, OsString>>, Option<Vec<*const c_char>>)

impl<'a> ToGlibContainerFromSlice<'a, *const *const i8> for OsString[src]

type Storage = (Vec<Stash<'a, *const c_char, OsString>>, Option<Vec<*const c_char>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GSList> for &'a T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

type Storage = (Option<SList>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, &'a T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *const GSList> for &'a T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

type Storage = (Option<SList>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, &'a T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *const GArray> for &'a T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, &'a T>>)

Loading content...

Implementors

impl<'a> ToGlibContainerFromSlice<'a, *mut usize> for Type[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

Loading content...