glib::translate

Trait ToGlibContainerFromSlice

Source
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§

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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

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

Source§

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

Source§

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

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

Source§

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

Source§

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

Source§

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

Source§

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