pub struct VideoOverlayRectangleRef(/* private fields */);Implementations§
Source§impl VideoOverlayRectangleRef
 
impl VideoOverlayRectangleRef
pub fn as_ptr(&self) -> *const GstVideoOverlayRectangle
pub fn as_mut_ptr(&self) -> *mut GstVideoOverlayRectangle
pub unsafe fn from_ptr<'a>(ptr: *const GstVideoOverlayRectangle) -> &'a Self
pub unsafe fn from_mut_ptr<'a>( ptr: *mut GstVideoOverlayRectangle, ) -> &'a mut Self
pub fn copy(&self) -> VideoOverlayRectangle
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_mut(&mut self) -> &mut MiniObjectRef
pub fn ptr_eq( this: &VideoOverlayRectangleRef, other: &VideoOverlayRectangleRef, ) -> bool
Source§impl VideoOverlayRectangleRef
 
impl VideoOverlayRectangleRef
pub fn flags(&self) -> VideoOverlayFormatFlags
pub fn global_alpha(&self) -> f32
pub fn set_global_alpha(&mut self, alpha: f32)
pub fn seqnum(&self) -> u32
pub fn render_rectangle(&self) -> (i32, i32, u32, u32)
pub fn set_render_rectangle( &mut self, render_x: i32, render_y: i32, render_width: u32, render_height: u32, )
pub fn pixels_unscaled_raw(&self, flags: VideoOverlayFormatFlags) -> Buffer
pub fn pixels_unscaled_ayuv(&self, flags: VideoOverlayFormatFlags) -> Buffer
pub fn pixels_unscaled_argb(&self, flags: VideoOverlayFormatFlags) -> Buffer
pub fn pixels_raw(&self, flags: VideoOverlayFormatFlags) -> Buffer
pub fn pixels_ayuv(&self, flags: VideoOverlayFormatFlags) -> Buffer
pub fn pixels_argb(&self, flags: VideoOverlayFormatFlags) -> Buffer
Trait Implementations§
Source§impl AsRef<VideoOverlayRectangleRef> for VideoOverlayRectangle
 
impl AsRef<VideoOverlayRectangleRef> for VideoOverlayRectangle
Source§fn as_ref(&self) -> &VideoOverlayRectangleRef
 
fn as_ref(&self) -> &VideoOverlayRectangleRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<VideoOverlayRectangleRef> for VideoOverlayRectangle
 
impl Borrow<VideoOverlayRectangleRef> for VideoOverlayRectangle
Source§fn borrow(&self) -> &VideoOverlayRectangleRef
 
fn borrow(&self) -> &VideoOverlayRectangleRef
Immutably borrows from an owned value. Read more
Source§impl Debug for VideoOverlayRectangleRef
 
impl Debug for VideoOverlayRectangleRef
Source§impl<'a> FromValue<'a> for &'a VideoOverlayRectangleRef
 
impl<'a> FromValue<'a> for &'a VideoOverlayRectangleRef
Source§type Checker = GenericValueTypeOrNoneChecker<&'a VideoOverlayRectangleRef>
 
type Checker = GenericValueTypeOrNoneChecker<&'a VideoOverlayRectangleRef>
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 VideoOverlayRectangleRef
 
impl StaticType for VideoOverlayRectangleRef
Source§fn static_type() -> Type
 
fn static_type() -> Type
Returns the type identifier of 
Self.Source§impl ToOwned for VideoOverlayRectangleRef
 
impl ToOwned for VideoOverlayRectangleRef
Source§type Owned = VideoOverlayRectangle
 
type Owned = VideoOverlayRectangle
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> VideoOverlayRectangle
 
fn to_owned(&self) -> VideoOverlayRectangle
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 VideoOverlayRectangleRef
impl Sync for VideoOverlayRectangleRef
Auto Trait Implementations§
impl Freeze for VideoOverlayRectangleRef
impl RefUnwindSafe for VideoOverlayRectangleRef
impl !Unpin for VideoOverlayRectangleRef
impl UnwindSafe for VideoOverlayRectangleRef
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.