Struct gstreamer_gl::gl_memory::GLMemory
source · #[repr(transparent)]pub struct GLMemory {
obj: NonNull<GstGLMemory>,
}
Fields§
§obj: NonNull<GstGLMemory>
Implementations§
source§impl GLMemory
impl GLMemory
pub unsafe fn from_glib_ptr_borrow<'a>( ptr: *const *const GstGLMemory, ) -> &'a Self
pub unsafe fn from_glib_none(ptr: *const GstGLMemory) -> Self
pub unsafe fn from_glib_full(ptr: *const GstGLMemory) -> Self
pub unsafe fn from_glib_borrow(ptr: *const GstGLMemory) -> Borrowed<Self>
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstGLMemory)
pub fn make_mut(&mut self) -> &mut GLMemoryRef
pub fn get_mut(&mut self) -> Option<&mut GLMemoryRef>
pub fn is_writable(&self) -> bool
pub fn upcast(self) -> MiniObject
source§impl GLMemory
impl GLMemory
pub fn downcast_memory<M: MemoryType>(self) -> Result<M, Self>where
<M as IsMiniObject>::RefType: AsRef<MemoryRef> + AsMut<MemoryRef> + AsRef<GLMemoryRef> + AsMut<GLMemoryRef>,
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 = GLMemoryRef>§
pub fn as_ptr(&self) -> *const GstGLMemory
pub fn as_mut_ptr(&self) -> *mut GstGLMemory
pub fn copy(&self) -> GLMemory
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_memory_ref<M>(&self) -> &M::RefType
sourcepub unsafe fn copy_into(
&self,
tex_id: u32,
target: GLTextureTarget,
tex_format: GLFormat,
width: i32,
height: i32,
) -> Result<(), LoggableError>
pub unsafe fn copy_into( &self, tex_id: u32, target: GLTextureTarget, tex_format: GLFormat, width: i32, height: i32, ) -> Result<(), LoggableError>
§Safety
tex_id
is not validated to be a valid GL texture, which may lead to undefined behaviour.
sourcepub unsafe fn copy_teximage(
&self,
tex_id: u32,
out_target: GLTextureTarget,
out_tex_format: GLFormat,
out_width: i32,
out_height: i32,
) -> Result<(), LoggableError>
pub unsafe fn copy_teximage( &self, tex_id: u32, out_target: GLTextureTarget, out_tex_format: GLFormat, out_width: i32, out_height: i32, ) -> Result<(), LoggableError>
§Safety
tex_id
is not validated to be a valid GL texture, which may lead to undefined behaviour.
pub fn texture_format(&self) -> GLFormat
pub fn texture_height(&self) -> i32
pub fn texture_id(&self) -> u32
pub fn texture_target(&self) -> GLTextureTarget
pub fn texture_width(&self) -> i32
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_mut(&mut self) -> &mut MiniObjectRef
pub fn upcast_memory_ref<M>(&self) -> &M::RefType
pub fn upcast_memory_mut<M>(&mut self) -> &mut 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<GLMemory> for GLMemoryPBO
impl AsRef<GLMemory> for GLMemoryPBO
source§impl AsRef<GLMemoryRef> for GLMemory
impl AsRef<GLMemoryRef> for GLMemory
source§fn as_ref(&self) -> &GLMemoryRef
fn as_ref(&self) -> &GLMemoryRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<GLMemoryRef> for GLMemory
impl Borrow<GLMemoryRef> for GLMemory
source§fn borrow(&self) -> &GLMemoryRef
fn borrow(&self) -> &GLMemoryRef
Immutably borrows from an owned value. Read more
source§impl FromGlibContainerAsVec<*mut GstGLMemory, *const *mut GstGLMemory> for GLMemory
impl FromGlibContainerAsVec<*mut GstGLMemory, *const *mut GstGLMemory> for GLMemory
unsafe fn from_glib_none_num_as_vec( ptr: *const *mut GstGLMemory, num: usize, ) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec( _: *const *mut GstGLMemory, _: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( _: *const *mut GstGLMemory, _: usize, ) -> Vec<Self>
source§impl FromGlibContainerAsVec<*mut GstGLMemory, *mut *mut GstGLMemory> for GLMemory
impl FromGlibContainerAsVec<*mut GstGLMemory, *mut *mut GstGLMemory> for GLMemory
unsafe fn from_glib_none_num_as_vec( ptr: *mut *mut GstGLMemory, num: usize, ) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec( ptr: *mut *mut GstGLMemory, num: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( ptr: *mut *mut GstGLMemory, num: usize, ) -> Vec<Self>
source§impl FromGlibPtrArrayContainerAsVec<*mut GstGLMemory, *const *mut GstGLMemory> for GLMemory
impl FromGlibPtrArrayContainerAsVec<*mut GstGLMemory, *const *mut GstGLMemory> for GLMemory
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstGLMemory) -> Vec<Self>
unsafe fn from_glib_container_as_vec(_: *const *mut GstGLMemory) -> Vec<Self>
unsafe fn from_glib_full_as_vec(_: *const *mut GstGLMemory) -> Vec<Self>
source§impl FromGlibPtrArrayContainerAsVec<*mut GstGLMemory, *mut *mut GstGLMemory> for GLMemory
impl FromGlibPtrArrayContainerAsVec<*mut GstGLMemory, *mut *mut GstGLMemory> for GLMemory
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstGLMemory) -> Vec<Self>
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstGLMemory) -> Vec<Self>
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstGLMemory) -> Vec<Self>
source§impl FromGlibPtrBorrow<*const GstGLMemory> for GLMemory
impl FromGlibPtrBorrow<*const GstGLMemory> for GLMemory
source§unsafe fn from_glib_borrow(ptr: *const GstGLMemory) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *const GstGLMemory) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrBorrow<*mut GstGLMemory> for GLMemory
impl FromGlibPtrBorrow<*mut GstGLMemory> for GLMemory
source§unsafe fn from_glib_borrow(ptr: *mut GstGLMemory) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *mut GstGLMemory) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrFull<*const GstGLMemory> for GLMemory
impl FromGlibPtrFull<*const GstGLMemory> for GLMemory
source§unsafe fn from_glib_full(ptr: *const GstGLMemory) -> Self
unsafe fn from_glib_full(ptr: *const GstGLMemory) -> Self
Safety Read more
source§impl FromGlibPtrFull<*mut GstGLMemory> for GLMemory
impl FromGlibPtrFull<*mut GstGLMemory> for GLMemory
source§unsafe fn from_glib_full(ptr: *mut GstGLMemory) -> Self
unsafe fn from_glib_full(ptr: *mut GstGLMemory) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const GstGLMemory> for GLMemory
impl FromGlibPtrNone<*const GstGLMemory> for GLMemory
source§unsafe fn from_glib_none(ptr: *const GstGLMemory) -> Self
unsafe fn from_glib_none(ptr: *const GstGLMemory) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut GstGLMemory> for GLMemory
impl FromGlibPtrNone<*mut GstGLMemory> for GLMemory
source§unsafe fn from_glib_none(ptr: *mut GstGLMemory) -> Self
unsafe fn from_glib_none(ptr: *mut GstGLMemory) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a GLMemory
impl<'a> FromValue<'a> for &'a GLMemory
source§type Checker = MemoryTypeValueTypeChecker<GLMemory>
type Checker = MemoryTypeValueTypeChecker<GLMemory>
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 GLMemory
impl<'a> FromValue<'a> for GLMemory
source§type Checker = MemoryTypeValueTypeChecker<GLMemory>
type Checker = MemoryTypeValueTypeChecker<GLMemory>
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 GLMemory
impl GlibPtrDefault for GLMemory
type GlibType = *mut GstGLMemory
source§impl IntoGlibPtr<*mut GstGLMemory> for GLMemory
impl IntoGlibPtr<*mut GstGLMemory> for GLMemory
source§unsafe fn into_glib_ptr(self) -> *mut GstGLMemory
unsafe fn into_glib_ptr(self) -> *mut GstGLMemory
Transfer: full.
source§impl IsMiniObject for GLMemory
impl IsMiniObject for GLMemory
type RefType = GLMemoryRef
type FfiType = GstGLMemory
source§impl MemoryType for GLMemory
impl MemoryType for GLMemory
fn check_memory_type(mem: &MemoryRef) -> bool
source§impl StaticType for GLMemory
impl StaticType for GLMemory
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstGLMemory> for GLMemory
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstGLMemory> for GLMemory
type Storage = (PhantomData<&'a [GLMemory]>, Option<Vec<*mut GstGLMemory>>)
fn to_glib_none_from_slice( t: &'a [GLMemory], ) -> (*const *mut GstGLMemory, Self::Storage)
fn to_glib_container_from_slice( _: &'a [GLMemory], ) -> (*const *mut GstGLMemory, Self::Storage)
fn to_glib_full_from_slice(_: &[GLMemory]) -> *const *mut GstGLMemory
source§impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstGLMemory> for GLMemory
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstGLMemory> for GLMemory
type Storage = (PhantomData<&'a [GLMemory]>, Option<Vec<*mut GstGLMemory>>)
fn to_glib_none_from_slice( t: &'a [GLMemory], ) -> (*mut *mut GstGLMemory, Self::Storage)
fn to_glib_container_from_slice( t: &'a [GLMemory], ) -> (*mut *mut GstGLMemory, Self::Storage)
fn to_glib_full_from_slice(t: &[GLMemory]) -> *mut *mut GstGLMemory
source§impl<'a> ToGlibPtr<'a, *const GstGLMemory> for GLMemory
impl<'a> ToGlibPtr<'a, *const GstGLMemory> for GLMemory
type Storage = PhantomData<&'a GLMemory>
source§fn to_glib_none(&'a self) -> Stash<'a, *const GstGLMemory, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const GstGLMemory, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const GstGLMemory
fn to_glib_full(&self) -> *const GstGLMemory
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 GstGLMemory> for GLMemory
impl<'a> ToGlibPtr<'a, *mut GstGLMemory> for GLMemory
type Storage = PhantomData<&'a GLMemory>
source§fn to_glib_none(&'a self) -> Stash<'a, *mut GstGLMemory, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstGLMemory, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut GstGLMemory
fn to_glib_full(&self) -> *mut GstGLMemory
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 GstGLMemory> for GLMemory
impl<'a> ToGlibPtrMut<'a, *mut GstGLMemory> for GLMemory
type Storage = PhantomData<&'a mut GLMemory>
source§fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstGLMemory, Self>
fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstGLMemory, Self>
Transfer: none. Read more
source§impl ToValueOptional for GLMemory
impl ToValueOptional for GLMemory
source§fn to_value_optional(s: Option<&Self>) -> Value
fn to_value_optional(s: Option<&Self>) -> Value
Convert an
Option
to a Value
.impl Send for GLMemory
impl Sync for GLMemory
impl TransparentPtrType for GLMemory
Auto Trait Implementations§
impl Freeze for GLMemory
impl RefUnwindSafe for GLMemory
impl Unpin for GLMemory
impl UnwindSafe for GLMemory
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>,
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>,
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>,
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>,
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>,
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>,
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
.