glib::translate

Trait FromGlibContainerAsVec

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

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 FromGlibContainerAsVec<bool, *const i32> for bool

Source§

impl FromGlibContainerAsVec<bool, *mut i32> for bool

Source§

impl FromGlibContainerAsVec<f32, *const f32> for f32

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<f64, *const f64> for f64

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>

Source§

impl FromGlibContainerAsVec<i8, *const i8> for i8

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<i16, *const i16> for i16

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<i32, *const i32> for i32

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<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, *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<*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<*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, *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<*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<*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<*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<*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<*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<*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<*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<*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<u8, *const u8> for u8

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<u16, *const u16> for u16

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<u32, *const u32> for u32

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

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 T

Source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for T

Source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for T

Source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for T

Source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for T

Source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for T