Trait glib::translate::ToGlibContainerFromSlice [−][src]
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
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
Implementations on Foreign Types
impl<'a> ToGlibContainerFromSlice<'a, *mut u8> for u8
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut u8> for u8
impl<'a> ToGlibContainerFromSlice<'a, *mut i8> for i8
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut i8> for i8
impl<'a> ToGlibContainerFromSlice<'a, *mut u16> for u16
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut u16> for u16
impl<'a> ToGlibContainerFromSlice<'a, *mut i16> for i16
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut i16> for i16
impl<'a> ToGlibContainerFromSlice<'a, *mut u32> for u32
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut u32> for u32
impl<'a> ToGlibContainerFromSlice<'a, *mut i32> for i32
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut i32> for i32
impl<'a> ToGlibContainerFromSlice<'a, *mut u64> for u64
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut u64> for u64
impl<'a> ToGlibContainerFromSlice<'a, *mut i64> for i64
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut i64> for i64
impl<'a> ToGlibContainerFromSlice<'a, *mut f32> for f32
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut f32> for f32
impl<'a> ToGlibContainerFromSlice<'a, *mut f64> for f64
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut f64> for f64
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut c_char> for &'a str
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut c_char> for &'a str
type Storage = (Vec<Stash<'a, *mut c_char, &'a str>>, Option<Vec<*mut c_char>>)
fn to_glib_none_from_slice(
t: &'a [&'a str]
) -> (*mut *mut c_char, Self::Storage)
[src]
fn to_glib_none_from_slice(
t: &'a [&'a str]
) -> (*mut *mut c_char, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [&'a str]
) -> (*mut *mut c_char, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [&'a str]
) -> (*mut *mut c_char, Self::Storage)
fn to_glib_full_from_slice(t: &[&'a str]) -> *mut *mut c_char
[src]
fn to_glib_full_from_slice(t: &[&'a str]) -> *mut *mut c_char
impl<'a> ToGlibContainerFromSlice<'a, *mut *const c_char> for &'a str
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *const c_char> for &'a str
type Storage = (Vec<Stash<'a, *const c_char, &'a str>>, Option<Vec<*const c_char>>)
fn to_glib_none_from_slice(
t: &'a [&'a str]
) -> (*mut *const c_char, Self::Storage)
[src]
fn to_glib_none_from_slice(
t: &'a [&'a str]
) -> (*mut *const c_char, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [&'a str]
) -> (*mut *const c_char, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [&'a str]
) -> (*mut *const c_char, Self::Storage)
fn to_glib_full_from_slice(t: &[&'a str]) -> *mut *const c_char
[src]
fn to_glib_full_from_slice(t: &[&'a str]) -> *mut *const c_char
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut c_char> for String
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut c_char> for String
type Storage = (Vec<Stash<'a, *mut c_char, String>>, Option<Vec<*mut c_char>>)
fn to_glib_none_from_slice(t: &'a [String]) -> (*mut *mut c_char, Self::Storage)
[src]
fn to_glib_none_from_slice(t: &'a [String]) -> (*mut *mut c_char, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [String]
) -> (*mut *mut c_char, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [String]
) -> (*mut *mut c_char, Self::Storage)
fn to_glib_full_from_slice(t: &[String]) -> *mut *mut c_char
[src]
fn to_glib_full_from_slice(t: &[String]) -> *mut *mut c_char
impl<'a> ToGlibContainerFromSlice<'a, *mut *const c_char> for String
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *const c_char> for String
type Storage = (Vec<Stash<'a, *const c_char, String>>, Option<Vec<*const c_char>>)
fn to_glib_none_from_slice(
t: &'a [String]
) -> (*mut *const c_char, Self::Storage)
[src]
fn to_glib_none_from_slice(
t: &'a [String]
) -> (*mut *const c_char, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [String]
) -> (*mut *const c_char, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [String]
) -> (*mut *const c_char, Self::Storage)
fn to_glib_full_from_slice(t: &[String]) -> *mut *const c_char
[src]
fn to_glib_full_from_slice(t: &[String]) -> *mut *const c_char
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut c_char> for &'a Path
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut c_char> for &'a Path
type Storage = (Vec<Stash<'a, *mut c_char, &'a Path>>, Option<Vec<*mut c_char>>)
fn to_glib_none_from_slice(
t: &'a [&'a Path]
) -> (*mut *mut c_char, Self::Storage)
[src]
fn to_glib_none_from_slice(
t: &'a [&'a Path]
) -> (*mut *mut c_char, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [&'a Path]
) -> (*mut *mut c_char, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [&'a Path]
) -> (*mut *mut c_char, Self::Storage)
fn to_glib_full_from_slice(t: &[&'a Path]) -> *mut *mut c_char
[src]
fn to_glib_full_from_slice(t: &[&'a Path]) -> *mut *mut c_char
impl<'a> ToGlibContainerFromSlice<'a, *mut *const c_char> for &'a Path
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *const c_char> for &'a Path
type Storage = (Vec<Stash<'a, *const c_char, &'a Path>>, Option<Vec<*const c_char>>)
fn to_glib_none_from_slice(
t: &'a [&'a Path]
) -> (*mut *const c_char, Self::Storage)
[src]
fn to_glib_none_from_slice(
t: &'a [&'a Path]
) -> (*mut *const c_char, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [&'a Path]
) -> (*mut *const c_char, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [&'a Path]
) -> (*mut *const c_char, Self::Storage)
fn to_glib_full_from_slice(t: &[&'a Path]) -> *mut *const c_char
[src]
fn to_glib_full_from_slice(t: &[&'a Path]) -> *mut *const c_char
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut c_char> for PathBuf
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut c_char> for PathBuf
type Storage = (Vec<Stash<'a, *mut c_char, PathBuf>>, Option<Vec<*mut c_char>>)
fn to_glib_none_from_slice(
t: &'a [PathBuf]
) -> (*mut *mut c_char, Self::Storage)
[src]
fn to_glib_none_from_slice(
t: &'a [PathBuf]
) -> (*mut *mut c_char, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [PathBuf]
) -> (*mut *mut c_char, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [PathBuf]
) -> (*mut *mut c_char, Self::Storage)
fn to_glib_full_from_slice(t: &[PathBuf]) -> *mut *mut c_char
[src]
fn to_glib_full_from_slice(t: &[PathBuf]) -> *mut *mut c_char
impl<'a> ToGlibContainerFromSlice<'a, *mut *const c_char> for PathBuf
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *const c_char> for PathBuf
type Storage = (Vec<Stash<'a, *const c_char, PathBuf>>, Option<Vec<*const c_char>>)
fn to_glib_none_from_slice(
t: &'a [PathBuf]
) -> (*mut *const c_char, Self::Storage)
[src]
fn to_glib_none_from_slice(
t: &'a [PathBuf]
) -> (*mut *const c_char, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [PathBuf]
) -> (*mut *const c_char, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [PathBuf]
) -> (*mut *const c_char, Self::Storage)
fn to_glib_full_from_slice(t: &[PathBuf]) -> *mut *const c_char
[src]
fn to_glib_full_from_slice(t: &[PathBuf]) -> *mut *const c_char
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut c_char> for &'a OsStr
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut c_char> for &'a OsStr
type Storage = (Vec<Stash<'a, *mut c_char, &'a OsStr>>, Option<Vec<*mut c_char>>)
fn to_glib_none_from_slice(
t: &'a [&'a OsStr]
) -> (*mut *mut c_char, Self::Storage)
[src]
fn to_glib_none_from_slice(
t: &'a [&'a OsStr]
) -> (*mut *mut c_char, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [&'a OsStr]
) -> (*mut *mut c_char, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [&'a OsStr]
) -> (*mut *mut c_char, Self::Storage)
fn to_glib_full_from_slice(t: &[&'a OsStr]) -> *mut *mut c_char
[src]
fn to_glib_full_from_slice(t: &[&'a OsStr]) -> *mut *mut c_char
impl<'a> ToGlibContainerFromSlice<'a, *mut *const c_char> for &'a OsStr
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *const c_char> for &'a OsStr
type Storage = (Vec<Stash<'a, *const c_char, &'a OsStr>>, Option<Vec<*const c_char>>)
fn to_glib_none_from_slice(
t: &'a [&'a OsStr]
) -> (*mut *const c_char, Self::Storage)
[src]
fn to_glib_none_from_slice(
t: &'a [&'a OsStr]
) -> (*mut *const c_char, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [&'a OsStr]
) -> (*mut *const c_char, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [&'a OsStr]
) -> (*mut *const c_char, Self::Storage)
fn to_glib_full_from_slice(t: &[&'a OsStr]) -> *mut *const c_char
[src]
fn to_glib_full_from_slice(t: &[&'a OsStr]) -> *mut *const c_char
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut c_char> for OsString
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut c_char> for OsString
type Storage = (Vec<Stash<'a, *mut c_char, OsString>>, Option<Vec<*mut c_char>>)
fn to_glib_none_from_slice(
t: &'a [OsString]
) -> (*mut *mut c_char, Self::Storage)
[src]
fn to_glib_none_from_slice(
t: &'a [OsString]
) -> (*mut *mut c_char, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [OsString]
) -> (*mut *mut c_char, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [OsString]
) -> (*mut *mut c_char, Self::Storage)
fn to_glib_full_from_slice(t: &[OsString]) -> *mut *mut c_char
[src]
fn to_glib_full_from_slice(t: &[OsString]) -> *mut *mut c_char
impl<'a> ToGlibContainerFromSlice<'a, *mut *const c_char> for OsString
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *const c_char> for OsString
type Storage = (Vec<Stash<'a, *const c_char, OsString>>, Option<Vec<*const c_char>>)
fn to_glib_none_from_slice(
t: &'a [OsString]
) -> (*mut *const c_char, Self::Storage)
[src]
fn to_glib_none_from_slice(
t: &'a [OsString]
) -> (*mut *const c_char, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [OsString]
) -> (*mut *const c_char, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [OsString]
) -> (*mut *const c_char, Self::Storage)
fn to_glib_full_from_slice(t: &[OsString]) -> *mut *const c_char
[src]
fn to_glib_full_from_slice(t: &[OsString]) -> *mut *const c_char
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GSList> for &'a T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GSList> for &'a T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<SList>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, &'a T>>)
fn to_glib_none_from_slice(t: &'a [&'a T]) -> (*mut GSList, Self::Storage)
[src]
fn to_glib_none_from_slice(t: &'a [&'a T]) -> (*mut GSList, Self::Storage)
fn to_glib_container_from_slice(t: &'a [&'a T]) -> (*mut GSList, Self::Storage)
[src]
fn to_glib_container_from_slice(t: &'a [&'a T]) -> (*mut GSList, Self::Storage)
fn to_glib_full_from_slice(t: &[&'a T]) -> *mut GSList
[src]
fn to_glib_full_from_slice(t: &[&'a T]) -> *mut GSList
impl<'a, T> ToGlibContainerFromSlice<'a, *const GSList> for &'a T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *const GSList> for &'a T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<SList>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, &'a T>>)
fn to_glib_none_from_slice(t: &'a [&'a T]) -> (*const GSList, Self::Storage)
[src]
fn to_glib_none_from_slice(t: &'a [&'a T]) -> (*const GSList, Self::Storage)
fn to_glib_container_from_slice(
_t: &'a [&'a T]
) -> (*const GSList, Self::Storage)
[src]
fn to_glib_container_from_slice(
_t: &'a [&'a T]
) -> (*const GSList, Self::Storage)
fn to_glib_full_from_slice(_t: &[&'a T]) -> *const GSList
[src]
fn to_glib_full_from_slice(_t: &[&'a T]) -> *const GSList
impl<'a, T> ToGlibContainerFromSlice<'a, *const GArray> for &'a T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *const GArray> for &'a T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, &'a T>>)
fn to_glib_none_from_slice(t: &'a [&'a T]) -> (*const GArray, Self::Storage)
[src]
fn to_glib_none_from_slice(t: &'a [&'a T]) -> (*const GArray, Self::Storage)
fn to_glib_container_from_slice(
_t: &'a [&'a T]
) -> (*const GArray, Self::Storage)
[src]
fn to_glib_container_from_slice(
_t: &'a [&'a T]
) -> (*const GArray, Self::Storage)
fn to_glib_full_from_slice(_t: &[&'a T]) -> *const GArray
[src]
fn to_glib_full_from_slice(_t: &[&'a T]) -> *const GArray
Implementors
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>);impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>);impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>);impl<'a> ToGlibContainerFromSlice<'a, *mut GType> for Type type Storage = Option<Vec<GType>>;
impl<'a> ToGlibContainerFromSlice<'a, *mut GValue> for &'a Value type Storage = &'a [&'a Value];
impl<'a> ToGlibContainerFromSlice<'a, *const GValue> for &'a Value type Storage = &'a [&'a Value];