pub trait ToGlibContainerFromSlice<'a, P>
where Self: Sized,
{ 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; }

Required Associated Types§

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

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

source§

fn to_glib_none_from_slice( t: &'a [&'a str] ) -> (*const *mut c_char, Self::Storage)

source§

fn to_glib_container_from_slice( t: &'a [&'a str] ) -> (*const *mut c_char, Self::Storage)

source§

fn to_glib_full_from_slice(t: &[&'a str]) -> *const *mut c_char

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<'a> ToGlibContainerFromSlice<'a, *mut f32> for f32

source§

impl<'a> ToGlibContainerFromSlice<'a, *mut f64> for f64

source§

impl<'a> ToGlibContainerFromSlice<'a, *mut i8> for i8

source§

impl<'a> ToGlibContainerFromSlice<'a, *mut i16> for i16

source§

impl<'a> ToGlibContainerFromSlice<'a, *mut i32> for i32

source§

impl<'a> ToGlibContainerFromSlice<'a, *mut i64> for i64

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

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

source§

fn to_glib_none_from_slice( t: &'a [&'a str] ) -> (*mut *mut c_char, Self::Storage)

source§

fn to_glib_container_from_slice( t: &'a [&'a str] ) -> (*mut *mut c_char, Self::Storage)

source§

fn to_glib_full_from_slice(t: &[&'a str]) -> *mut *mut c_char

source§

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

§

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

source§

fn to_glib_none_from_slice( t: &'a [&'a OsStr] ) -> (*mut *mut c_char, Self::Storage)

source§

fn to_glib_container_from_slice( t: &'a [&'a OsStr] ) -> (*mut *mut c_char, Self::Storage)

source§

fn to_glib_full_from_slice(t: &[&'a OsStr]) -> *mut *mut c_char

source§

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

§

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

source§

fn to_glib_none_from_slice( t: &'a [&'a Path] ) -> (*mut *mut c_char, Self::Storage)

source§

fn to_glib_container_from_slice( t: &'a [&'a Path] ) -> (*mut *mut c_char, Self::Storage)

source§

fn to_glib_full_from_slice(t: &[&'a Path]) -> *mut *mut c_char

source§

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

source§

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

source§

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

source§

impl<'a> ToGlibContainerFromSlice<'a, *mut u8> for u8

source§

impl<'a> ToGlibContainerFromSlice<'a, *mut u16> for u16

source§

impl<'a> ToGlibContainerFromSlice<'a, *mut u32> for u32

source§

impl<'a> ToGlibContainerFromSlice<'a, *mut u64> for u64

source§

impl<'a, T> ToGlibContainerFromSlice<'a, *const GSList> for &'a T

source§

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GSList> for &'a T

Implementors§

source§

impl<'a> ToGlibContainerFromSlice<'a, *const *const i8> for GString

source§

impl<'a> ToGlibContainerFromSlice<'a, *const *mut i8> for GString

source§

impl<'a> ToGlibContainerFromSlice<'a, *mut *const i8> for GString

source§

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut i8> for GString

source§

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

§

type Storage = PhantomData<&'a [Type]>

source§

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T

§

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

source§

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T

source§

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T

§

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

source§

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T