Struct gstreamer_gl::GLBaseMemory
source · pub struct GLBaseMemory { /* private fields */ }
Implementations§
source§impl GLBaseMemory
impl GLBaseMemory
pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GstGLBaseMemory) -> &Self
pub unsafe fn from_glib_none(ptr: *const GstGLBaseMemory) -> Self
pub unsafe fn from_glib_full(ptr: *const GstGLBaseMemory) -> Self
pub unsafe fn from_glib_borrow(ptr: *const GstGLBaseMemory) -> Borrowed<Self>
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstGLBaseMemory)
pub fn make_mut(&mut self) -> &mut GLBaseMemoryRef
pub fn get_mut(&mut self) -> Option<&mut GLBaseMemoryRef>
pub fn is_writable(&self) -> bool
pub fn upcast(self) -> MiniObject
source§impl GLBaseMemory
impl GLBaseMemory
pub fn downcast_memory<M: MemoryType>(self) -> Result<M, Self>where
<M as IsMiniObject>::RefType: AsRef<MemoryRef> + AsMut<MemoryRef> + AsRef<GLBaseMemoryRef> + AsMut<GLBaseMemoryRef>,
pub fn upcast_memory<M>(self) -> Mwhere
M: MemoryType + FromGlibPtrFull<*const <M as IsMiniObject>::FfiType>,
<M as IsMiniObject>::RefType: AsRef<MemoryRef> + AsMut<MemoryRef>,
Self: AsRef<M>,
Methods from Deref<Target = GLBaseMemoryRef>§
pub fn as_ptr(&self) -> *const GstGLBaseMemory
pub fn as_mut_ptr(&self) -> *mut GstGLBaseMemory
pub fn copy(&self) -> GLBaseMemory
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_memory_ref<M>(&self) -> &M::RefType
pub unsafe fn memcpy( &self, dest: &mut GLBaseMemory, offset: isize, size: isize, ) -> Result<(), BoolError>
pub fn context(&self) -> &GLContext
Methods from Deref<Target = MemoryRef>§
pub fn as_ptr(&self) -> *const GstMemory
pub fn as_mut_ptr(&self) -> *mut GstMemory
pub fn copy(&self) -> Memory
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_mut(&mut self) -> &mut MiniObjectRef
pub fn allocator(&self) -> Option<&Allocator>
pub fn parent(&self) -> Option<&MemoryRef>
pub fn maxsize(&self) -> usize
pub fn align(&self) -> usize
pub fn offset(&self) -> usize
pub fn size(&self) -> usize
pub fn flags(&self) -> MemoryFlags
pub fn copy_range(&self, range: impl RangeBounds<usize>) -> Memory
pub fn copy_range_maxsize(&self, range: impl RangeBounds<usize>) -> Memory
pub fn is_span(&self, mem2: &MemoryRef) -> Option<usize>
pub fn is_type(&self, mem_type: &str) -> bool
pub fn map_readable(&self) -> Result<MemoryMap<'_, Readable>, BoolError>
pub fn map_writable(&mut self) -> Result<MemoryMap<'_, Writable>, BoolError>
pub fn resize(&mut self, range: impl RangeBounds<usize>)
pub fn resize_maxsize(&mut self, range: impl RangeBounds<usize>)
pub fn dump(&self) -> Dump<'_>
pub fn dump_range(&self, range: impl RangeBounds<usize>) -> Dump<'_>
pub fn is_memory_type<M>(&self) -> bool
pub fn downcast_memory_ref<M>(&self) -> Option<&<M as IsMiniObject>::RefType>
pub fn downcast_memory_mut<M>( &mut self, ) -> Option<&mut <M as IsMiniObject>::RefType>
Trait Implementations§
source§impl AsRef<GLBaseMemory> for GLMemory
impl AsRef<GLBaseMemory> for GLMemory
source§fn as_ref(&self) -> &GLBaseMemory
fn as_ref(&self) -> &GLBaseMemory
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<GLBaseMemory> for GLMemoryPBO
impl AsRef<GLBaseMemory> for GLMemoryPBO
source§fn as_ref(&self) -> &GLBaseMemory
fn as_ref(&self) -> &GLBaseMemory
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<GLBaseMemoryRef> for GLBaseMemory
impl AsRef<GLBaseMemoryRef> for GLBaseMemory
source§fn as_ref(&self) -> &GLBaseMemoryRef
fn as_ref(&self) -> &GLBaseMemoryRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<Memory> for GLBaseMemory
impl AsRef<Memory> for GLBaseMemory
source§impl Borrow<GLBaseMemoryRef> for GLBaseMemory
impl Borrow<GLBaseMemoryRef> for GLBaseMemory
source§fn borrow(&self) -> &GLBaseMemoryRef
fn borrow(&self) -> &GLBaseMemoryRef
Immutably borrows from an owned value. Read more
source§impl Clone for GLBaseMemory
impl Clone for GLBaseMemory
source§impl Debug for GLBaseMemory
impl Debug for GLBaseMemory
source§impl Deref for GLBaseMemory
impl Deref for GLBaseMemory
source§impl Drop for GLBaseMemory
impl Drop for GLBaseMemory
source§impl From<GLBaseMemory> for Value
impl From<GLBaseMemory> for Value
source§fn from(v: GLBaseMemory) -> Value
fn from(v: GLBaseMemory) -> Value
Converts to this type from the input type.
source§impl FromGlibContainerAsVec<*mut GstGLBaseMemory, *const *mut GstGLBaseMemory> for GLBaseMemory
impl FromGlibContainerAsVec<*mut GstGLBaseMemory, *const *mut GstGLBaseMemory> for GLBaseMemory
unsafe fn from_glib_none_num_as_vec( ptr: *const *mut GstGLBaseMemory, num: usize, ) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec( _: *const *mut GstGLBaseMemory, _: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( _: *const *mut GstGLBaseMemory, _: usize, ) -> Vec<Self>
source§impl FromGlibContainerAsVec<*mut GstGLBaseMemory, *mut *mut GstGLBaseMemory> for GLBaseMemory
impl FromGlibContainerAsVec<*mut GstGLBaseMemory, *mut *mut GstGLBaseMemory> for GLBaseMemory
unsafe fn from_glib_none_num_as_vec( ptr: *mut *mut GstGLBaseMemory, num: usize, ) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec( ptr: *mut *mut GstGLBaseMemory, num: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( ptr: *mut *mut GstGLBaseMemory, num: usize, ) -> Vec<Self>
source§impl FromGlibPtrArrayContainerAsVec<*mut GstGLBaseMemory, *const *mut GstGLBaseMemory> for GLBaseMemory
impl FromGlibPtrArrayContainerAsVec<*mut GstGLBaseMemory, *const *mut GstGLBaseMemory> for GLBaseMemory
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstGLBaseMemory) -> Vec<Self>
unsafe fn from_glib_container_as_vec( _: *const *mut GstGLBaseMemory, ) -> Vec<Self>
unsafe fn from_glib_full_as_vec(_: *const *mut GstGLBaseMemory) -> Vec<Self>
source§impl FromGlibPtrArrayContainerAsVec<*mut GstGLBaseMemory, *mut *mut GstGLBaseMemory> for GLBaseMemory
impl FromGlibPtrArrayContainerAsVec<*mut GstGLBaseMemory, *mut *mut GstGLBaseMemory> for GLBaseMemory
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstGLBaseMemory) -> Vec<Self>
unsafe fn from_glib_container_as_vec( ptr: *mut *mut GstGLBaseMemory, ) -> Vec<Self>
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstGLBaseMemory) -> Vec<Self>
source§impl FromGlibPtrBorrow<*const GstGLBaseMemory> for GLBaseMemory
impl FromGlibPtrBorrow<*const GstGLBaseMemory> for GLBaseMemory
source§unsafe fn from_glib_borrow(ptr: *const GstGLBaseMemory) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *const GstGLBaseMemory) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrBorrow<*mut GstGLBaseMemory> for GLBaseMemory
impl FromGlibPtrBorrow<*mut GstGLBaseMemory> for GLBaseMemory
source§unsafe fn from_glib_borrow(ptr: *mut GstGLBaseMemory) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *mut GstGLBaseMemory) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrFull<*const GstGLBaseMemory> for GLBaseMemory
impl FromGlibPtrFull<*const GstGLBaseMemory> for GLBaseMemory
source§unsafe fn from_glib_full(ptr: *const GstGLBaseMemory) -> Self
unsafe fn from_glib_full(ptr: *const GstGLBaseMemory) -> Self
Safety Read more
source§impl FromGlibPtrFull<*mut GstGLBaseMemory> for GLBaseMemory
impl FromGlibPtrFull<*mut GstGLBaseMemory> for GLBaseMemory
source§unsafe fn from_glib_full(ptr: *mut GstGLBaseMemory) -> Self
unsafe fn from_glib_full(ptr: *mut GstGLBaseMemory) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const GstGLBaseMemory> for GLBaseMemory
impl FromGlibPtrNone<*const GstGLBaseMemory> for GLBaseMemory
source§unsafe fn from_glib_none(ptr: *const GstGLBaseMemory) -> Self
unsafe fn from_glib_none(ptr: *const GstGLBaseMemory) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut GstGLBaseMemory> for GLBaseMemory
impl FromGlibPtrNone<*mut GstGLBaseMemory> for GLBaseMemory
source§unsafe fn from_glib_none(ptr: *mut GstGLBaseMemory) -> Self
unsafe fn from_glib_none(ptr: *mut GstGLBaseMemory) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a GLBaseMemory
impl<'a> FromValue<'a> for &'a GLBaseMemory
§type Checker = MemoryTypeValueTypeChecker<GLBaseMemory>
type Checker = MemoryTypeValueTypeChecker<GLBaseMemory>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<'a> FromValue<'a> for GLBaseMemory
impl<'a> FromValue<'a> for GLBaseMemory
§type Checker = MemoryTypeValueTypeChecker<GLBaseMemory>
type Checker = MemoryTypeValueTypeChecker<GLBaseMemory>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl GlibPtrDefault for GLBaseMemory
impl GlibPtrDefault for GLBaseMemory
type GlibType = *mut GstGLBaseMemory
source§impl IntoGlibPtr<*mut GstGLBaseMemory> for GLBaseMemory
impl IntoGlibPtr<*mut GstGLBaseMemory> for GLBaseMemory
source§unsafe fn into_glib_ptr(self) -> *mut GstGLBaseMemory
unsafe fn into_glib_ptr(self) -> *mut GstGLBaseMemory
Transfer: full.
source§impl IsMiniObject for GLBaseMemory
impl IsMiniObject for GLBaseMemory
type RefType = GLBaseMemoryRef
type FfiType = GstGLBaseMemory
source§impl MemoryType for GLBaseMemory
impl MemoryType for GLBaseMemory
fn check_memory_type(mem: &MemoryRef) -> bool
source§impl StaticType for GLBaseMemory
impl StaticType for GLBaseMemory
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstGLBaseMemory> for GLBaseMemory
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstGLBaseMemory> for GLBaseMemory
type Storage = (PhantomData<&'a [GLBaseMemory]>, Option<Vec<*mut GstGLBaseMemory>>)
fn to_glib_none_from_slice( t: &'a [GLBaseMemory], ) -> (*const *mut GstGLBaseMemory, Self::Storage)
fn to_glib_container_from_slice( _: &'a [GLBaseMemory], ) -> (*const *mut GstGLBaseMemory, Self::Storage)
fn to_glib_full_from_slice(_: &[GLBaseMemory]) -> *const *mut GstGLBaseMemory
source§impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstGLBaseMemory> for GLBaseMemory
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstGLBaseMemory> for GLBaseMemory
type Storage = (PhantomData<&'a [GLBaseMemory]>, Option<Vec<*mut GstGLBaseMemory>>)
fn to_glib_none_from_slice( t: &'a [GLBaseMemory], ) -> (*mut *mut GstGLBaseMemory, Self::Storage)
fn to_glib_container_from_slice( t: &'a [GLBaseMemory], ) -> (*mut *mut GstGLBaseMemory, Self::Storage)
fn to_glib_full_from_slice(t: &[GLBaseMemory]) -> *mut *mut GstGLBaseMemory
source§impl<'a> ToGlibPtr<'a, *const GstGLBaseMemory> for GLBaseMemory
impl<'a> ToGlibPtr<'a, *const GstGLBaseMemory> for GLBaseMemory
type Storage = PhantomData<&'a GLBaseMemory>
source§fn to_glib_none(&'a self) -> Stash<'a, *const GstGLBaseMemory, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const GstGLBaseMemory, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const GstGLBaseMemory
fn to_glib_full(&self) -> *const GstGLBaseMemory
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtr<'a, *mut GstGLBaseMemory> for GLBaseMemory
impl<'a> ToGlibPtr<'a, *mut GstGLBaseMemory> for GLBaseMemory
type Storage = PhantomData<&'a GLBaseMemory>
source§fn to_glib_none(&'a self) -> Stash<'a, *mut GstGLBaseMemory, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstGLBaseMemory, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut GstGLBaseMemory
fn to_glib_full(&self) -> *mut GstGLBaseMemory
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtrMut<'a, *mut GstGLBaseMemory> for GLBaseMemory
impl<'a> ToGlibPtrMut<'a, *mut GstGLBaseMemory> for GLBaseMemory
type Storage = PhantomData<&'a mut GLBaseMemory>
source§fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstGLBaseMemory, Self>
fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstGLBaseMemory, Self>
Transfer: none. Read more
source§impl ToValue for GLBaseMemory
impl ToValue for GLBaseMemory
source§impl ToValueOptional for GLBaseMemory
impl ToValueOptional for GLBaseMemory
source§fn to_value_optional(s: Option<&Self>) -> Value
fn to_value_optional(s: Option<&Self>) -> Value
Convert an
Option
to a Value
.source§impl ValueType for GLBaseMemory
impl ValueType for GLBaseMemory
§type Type = GLBaseMemory
type Type = GLBaseMemory
Type to get the
Type
from. Read moreimpl Send for GLBaseMemory
impl Sync for GLBaseMemory
impl TransparentPtrType for GLBaseMemory
Auto Trait Implementations§
impl Freeze for GLBaseMemory
impl RefUnwindSafe for GLBaseMemory
impl Unpin for GLBaseMemory
impl UnwindSafe for GLBaseMemory
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GList) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GList) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GPtrArray) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GPtrArray) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GPtrArray) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GSList) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GSList) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GSList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GList) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GList) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GPtrArray) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GPtrArray) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GPtrArray) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GSList) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GSList) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GSList) -> Vec<T>
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.