#[repr(transparent)]pub struct VideoOverlayComposition {
obj: NonNull<GstVideoOverlayComposition>,
}
Fields§
§obj: NonNull<GstVideoOverlayComposition>
Implementations§
source§impl VideoOverlayComposition
impl VideoOverlayComposition
pub unsafe fn from_glib_ptr_borrow<'a>( ptr: *const *const GstVideoOverlayComposition, ) -> &'a Self
pub unsafe fn from_glib_none(ptr: *const GstVideoOverlayComposition) -> Self
pub unsafe fn from_glib_full(ptr: *const GstVideoOverlayComposition) -> Self
pub unsafe fn from_glib_borrow( ptr: *const GstVideoOverlayComposition, ) -> Borrowed<Self>
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstVideoOverlayComposition)
pub fn make_mut(&mut self) -> &mut VideoOverlayCompositionRef
pub fn get_mut(&mut self) -> Option<&mut VideoOverlayCompositionRef>
pub fn is_writable(&self) -> bool
pub fn upcast(self) -> MiniObject
source§impl VideoOverlayComposition
impl VideoOverlayComposition
pub fn new<'a>( rects: impl IntoIterator<Item = &'a VideoOverlayRectangle>, ) -> Result<Self, BoolError>
Methods from Deref<Target = VideoOverlayCompositionRef>§
pub fn as_ptr(&self) -> *const GstVideoOverlayComposition
pub fn as_mut_ptr(&self) -> *mut GstVideoOverlayComposition
pub fn copy(&self) -> VideoOverlayComposition
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn n_rectangles(&self) -> u32
pub fn rectangle(&self, idx: u32) -> Result<VideoOverlayRectangle, BoolError>
pub fn seqnum(&self) -> u32
pub fn blend( &self, frame: &mut VideoFrameRef<&mut BufferRef>, ) -> Result<(), BoolError>
pub fn iter(&self) -> Iter<'_> ⓘ
Trait Implementations§
source§impl AsRef<VideoOverlayCompositionRef> for VideoOverlayComposition
impl AsRef<VideoOverlayCompositionRef> for VideoOverlayComposition
source§fn as_ref(&self) -> &VideoOverlayCompositionRef
fn as_ref(&self) -> &VideoOverlayCompositionRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<VideoOverlayCompositionRef> for VideoOverlayComposition
impl Borrow<VideoOverlayCompositionRef> for VideoOverlayComposition
source§fn borrow(&self) -> &VideoOverlayCompositionRef
fn borrow(&self) -> &VideoOverlayCompositionRef
Immutably borrows from an owned value. Read more
source§impl Clone for VideoOverlayComposition
impl Clone for VideoOverlayComposition
source§impl Debug for VideoOverlayComposition
impl Debug for VideoOverlayComposition
source§impl Deref for VideoOverlayComposition
impl Deref for VideoOverlayComposition
source§impl Drop for VideoOverlayComposition
impl Drop for VideoOverlayComposition
source§impl<'a> From<&'a VideoOverlayRectangle> for VideoOverlayComposition
impl<'a> From<&'a VideoOverlayRectangle> for VideoOverlayComposition
source§fn from(value: &'a VideoOverlayRectangle) -> Self
fn from(value: &'a VideoOverlayRectangle) -> Self
Converts to this type from the input type.
source§impl From<VideoOverlayComposition> for Value
impl From<VideoOverlayComposition> for Value
source§fn from(v: VideoOverlayComposition) -> Value
fn from(v: VideoOverlayComposition) -> Value
Converts to this type from the input type.
source§impl From<VideoOverlayRectangle> for VideoOverlayComposition
impl From<VideoOverlayRectangle> for VideoOverlayComposition
source§fn from(value: VideoOverlayRectangle) -> Self
fn from(value: VideoOverlayRectangle) -> Self
Converts to this type from the input type.
source§impl FromGlibContainerAsVec<*mut GstVideoOverlayComposition, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
impl FromGlibContainerAsVec<*mut GstVideoOverlayComposition, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_none_num_as_vec( ptr: *const *mut GstVideoOverlayComposition, num: usize, ) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec( _: *const *mut GstVideoOverlayComposition, _: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( _: *const *mut GstVideoOverlayComposition, _: usize, ) -> Vec<Self>
source§impl FromGlibContainerAsVec<*mut GstVideoOverlayComposition, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
impl FromGlibContainerAsVec<*mut GstVideoOverlayComposition, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_none_num_as_vec( ptr: *mut *mut GstVideoOverlayComposition, num: usize, ) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec( ptr: *mut *mut GstVideoOverlayComposition, num: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( ptr: *mut *mut GstVideoOverlayComposition, num: usize, ) -> Vec<Self>
source§impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayComposition, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayComposition, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_none_as_vec( ptr: *const *mut GstVideoOverlayComposition, ) -> Vec<Self>
unsafe fn from_glib_container_as_vec( _: *const *mut GstVideoOverlayComposition, ) -> Vec<Self>
unsafe fn from_glib_full_as_vec( _: *const *mut GstVideoOverlayComposition, ) -> Vec<Self>
source§impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayComposition, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayComposition, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_none_as_vec( ptr: *mut *mut GstVideoOverlayComposition, ) -> Vec<Self>
unsafe fn from_glib_container_as_vec( ptr: *mut *mut GstVideoOverlayComposition, ) -> Vec<Self>
unsafe fn from_glib_full_as_vec( ptr: *mut *mut GstVideoOverlayComposition, ) -> Vec<Self>
source§impl FromGlibPtrBorrow<*const GstVideoOverlayComposition> for VideoOverlayComposition
impl FromGlibPtrBorrow<*const GstVideoOverlayComposition> for VideoOverlayComposition
source§unsafe fn from_glib_borrow(
ptr: *const GstVideoOverlayComposition,
) -> Borrowed<Self>
unsafe fn from_glib_borrow( ptr: *const GstVideoOverlayComposition, ) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrBorrow<*mut GstVideoOverlayComposition> for VideoOverlayComposition
impl FromGlibPtrBorrow<*mut GstVideoOverlayComposition> for VideoOverlayComposition
source§unsafe fn from_glib_borrow(
ptr: *mut GstVideoOverlayComposition,
) -> Borrowed<Self>
unsafe fn from_glib_borrow( ptr: *mut GstVideoOverlayComposition, ) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrFull<*const GstVideoOverlayComposition> for VideoOverlayComposition
impl FromGlibPtrFull<*const GstVideoOverlayComposition> for VideoOverlayComposition
source§unsafe fn from_glib_full(ptr: *const GstVideoOverlayComposition) -> Self
unsafe fn from_glib_full(ptr: *const GstVideoOverlayComposition) -> Self
Safety Read more
source§impl FromGlibPtrFull<*mut GstVideoOverlayComposition> for VideoOverlayComposition
impl FromGlibPtrFull<*mut GstVideoOverlayComposition> for VideoOverlayComposition
source§unsafe fn from_glib_full(ptr: *mut GstVideoOverlayComposition) -> Self
unsafe fn from_glib_full(ptr: *mut GstVideoOverlayComposition) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const GstVideoOverlayComposition> for VideoOverlayComposition
impl FromGlibPtrNone<*const GstVideoOverlayComposition> for VideoOverlayComposition
source§unsafe fn from_glib_none(ptr: *const GstVideoOverlayComposition) -> Self
unsafe fn from_glib_none(ptr: *const GstVideoOverlayComposition) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut GstVideoOverlayComposition> for VideoOverlayComposition
impl FromGlibPtrNone<*mut GstVideoOverlayComposition> for VideoOverlayComposition
source§unsafe fn from_glib_none(ptr: *mut GstVideoOverlayComposition) -> Self
unsafe fn from_glib_none(ptr: *mut GstVideoOverlayComposition) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a VideoOverlayComposition
impl<'a> FromValue<'a> for &'a VideoOverlayComposition
source§type Checker = GenericValueTypeOrNoneChecker<&'a VideoOverlayComposition>
type Checker = GenericValueTypeOrNoneChecker<&'a VideoOverlayComposition>
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 VideoOverlayComposition
impl<'a> FromValue<'a> for VideoOverlayComposition
source§type Checker = GenericValueTypeOrNoneChecker<VideoOverlayComposition>
type Checker = GenericValueTypeOrNoneChecker<VideoOverlayComposition>
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 HasParamSpec for VideoOverlayComposition
impl HasParamSpec for VideoOverlayComposition
type ParamSpec = ParamSpecBoxed
source§type SetValue = VideoOverlayComposition
type SetValue = VideoOverlayComposition
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, VideoOverlayComposition>
fn param_spec_builder() -> Self::BuilderFn
source§impl IntoGlibPtr<*mut GstVideoOverlayComposition> for VideoOverlayComposition
impl IntoGlibPtr<*mut GstVideoOverlayComposition> for VideoOverlayComposition
source§unsafe fn into_glib_ptr(self) -> *mut GstVideoOverlayComposition
unsafe fn into_glib_ptr(self) -> *mut GstVideoOverlayComposition
Transfer: full.
source§impl<'a> IntoIterator for &'a VideoOverlayComposition
impl<'a> IntoIterator for &'a VideoOverlayComposition
source§impl StaticType for VideoOverlayComposition
impl StaticType for VideoOverlayComposition
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
type Storage = (PhantomData<&'a [VideoOverlayComposition]>, Option<Vec<*mut GstVideoOverlayComposition>>)
fn to_glib_none_from_slice( t: &'a [VideoOverlayComposition], ) -> (*const *mut GstVideoOverlayComposition, Self::Storage)
fn to_glib_container_from_slice( _: &'a [VideoOverlayComposition], ) -> (*const *mut GstVideoOverlayComposition, Self::Storage)
fn to_glib_full_from_slice( _: &[VideoOverlayComposition], ) -> *const *mut GstVideoOverlayComposition
source§impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
type Storage = (PhantomData<&'a [VideoOverlayComposition]>, Option<Vec<*mut GstVideoOverlayComposition>>)
fn to_glib_none_from_slice( t: &'a [VideoOverlayComposition], ) -> (*mut *mut GstVideoOverlayComposition, Self::Storage)
fn to_glib_container_from_slice( t: &'a [VideoOverlayComposition], ) -> (*mut *mut GstVideoOverlayComposition, Self::Storage)
fn to_glib_full_from_slice( t: &[VideoOverlayComposition], ) -> *mut *mut GstVideoOverlayComposition
source§impl<'a> ToGlibPtr<'a, *const GstVideoOverlayComposition> for VideoOverlayComposition
impl<'a> ToGlibPtr<'a, *const GstVideoOverlayComposition> for VideoOverlayComposition
type Storage = PhantomData<&'a VideoOverlayComposition>
source§fn to_glib_none(&'a self) -> Stash<'a, *const GstVideoOverlayComposition, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const GstVideoOverlayComposition, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const GstVideoOverlayComposition
fn to_glib_full(&self) -> *const GstVideoOverlayComposition
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 GstVideoOverlayComposition> for VideoOverlayComposition
impl<'a> ToGlibPtr<'a, *mut GstVideoOverlayComposition> for VideoOverlayComposition
type Storage = PhantomData<&'a VideoOverlayComposition>
source§fn to_glib_none(&'a self) -> Stash<'a, *mut GstVideoOverlayComposition, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstVideoOverlayComposition, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut GstVideoOverlayComposition
fn to_glib_full(&self) -> *mut GstVideoOverlayComposition
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 GstVideoOverlayComposition> for VideoOverlayComposition
impl<'a> ToGlibPtrMut<'a, *mut GstVideoOverlayComposition> for VideoOverlayComposition
type Storage = PhantomData<&'a mut VideoOverlayComposition>
source§fn to_glib_none_mut(
&'a mut self,
) -> StashMut<'_, *mut GstVideoOverlayComposition, Self>
fn to_glib_none_mut( &'a mut self, ) -> StashMut<'_, *mut GstVideoOverlayComposition, Self>
Transfer: none. Read more
source§impl ToValue for VideoOverlayComposition
impl ToValue for VideoOverlayComposition
source§impl ToValueOptional for VideoOverlayComposition
impl ToValueOptional for VideoOverlayComposition
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 VideoOverlayComposition
impl ValueType for VideoOverlayComposition
source§type Type = VideoOverlayComposition
type Type = VideoOverlayComposition
Type to get the
Type
from. Read moreimpl Send for VideoOverlayComposition
impl Sync for VideoOverlayComposition
impl TransparentPtrType for VideoOverlayComposition
impl ValueTypeOptional for VideoOverlayComposition
Auto Trait Implementations§
impl Freeze for VideoOverlayComposition
impl RefUnwindSafe for VideoOverlayComposition
impl Unpin for VideoOverlayComposition
impl UnwindSafe for VideoOverlayComposition
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> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§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
.