#[repr(transparent)]pub struct VideoOverlayCompositionRef(GstVideoOverlayComposition);
Tuple Fields§
§0: GstVideoOverlayComposition
Implementations§
source§impl VideoOverlayCompositionRef
impl VideoOverlayCompositionRef
pub fn as_ptr(&self) -> *const GstVideoOverlayComposition
pub fn as_mut_ptr(&self) -> *mut GstVideoOverlayComposition
pub unsafe fn from_ptr<'a>(ptr: *const GstVideoOverlayComposition) -> &'a Self
pub unsafe fn from_mut_ptr<'a>( ptr: *mut GstVideoOverlayComposition, ) -> &'a mut Self
pub fn copy(&self) -> VideoOverlayComposition
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_mut(&mut self) -> &mut MiniObjectRef
pub fn ptr_eq( this: &VideoOverlayCompositionRef, other: &VideoOverlayCompositionRef, ) -> bool
source§impl VideoOverlayCompositionRef
impl VideoOverlayCompositionRef
pub fn n_rectangles(&self) -> u32
pub fn rectangle(&self, idx: u32) -> Result<VideoOverlayRectangle, BoolError>
pub fn add_rectangle(&mut self, rect: &VideoOverlayRectangleRef)
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 Debug for VideoOverlayCompositionRef
impl Debug for VideoOverlayCompositionRef
source§impl<'a> FromValue<'a> for &'a VideoOverlayCompositionRef
impl<'a> FromValue<'a> for &'a VideoOverlayCompositionRef
source§type Checker = GenericValueTypeOrNoneChecker<&'a VideoOverlayCompositionRef>
type Checker = GenericValueTypeOrNoneChecker<&'a VideoOverlayCompositionRef>
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 StaticType for VideoOverlayCompositionRef
impl StaticType for VideoOverlayCompositionRef
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToOwned for VideoOverlayCompositionRef
impl ToOwned for VideoOverlayCompositionRef
source§type Owned = VideoOverlayComposition
type Owned = VideoOverlayComposition
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> VideoOverlayComposition
fn to_owned(&self) -> VideoOverlayComposition
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Send for VideoOverlayCompositionRef
impl Sync for VideoOverlayCompositionRef
Auto Trait Implementations§
impl Freeze for VideoOverlayCompositionRef
impl RefUnwindSafe for VideoOverlayCompositionRef
impl !Unpin for VideoOverlayCompositionRef
impl UnwindSafe for VideoOverlayCompositionRef
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> 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.