[]Struct gstreamer_video::VideoOverlayRectangleRef

#[repr(C)]
pub struct VideoOverlayRectangleRef(_);

Methods

impl VideoOverlayRectangleRef[src]

pub fn get_flags(&self) -> VideoOverlayFormatFlags[src]

pub fn get_global_alpha(&self) -> f32[src]

pub fn set_global_alpha(&mut self, alpha: f32)[src]

pub fn get_seqnum(&self) -> u32[src]

pub fn get_render_rectangle(&self) -> (i32, i32, u32, u32)[src]

pub fn set_render_rectangle(
    &mut self,
    render_x: i32,
    render_y: i32,
    render_width: u32,
    render_height: u32
)
[src]

pub fn get_pixels_unscaled_raw(&self, flags: VideoOverlayFormatFlags) -> Buffer[src]

pub fn get_pixels_unscaled_ayuv(&self, flags: VideoOverlayFormatFlags) -> Buffer[src]

pub fn get_pixels_unscaled_argb(&self, flags: VideoOverlayFormatFlags) -> Buffer[src]

pub fn get_pixels_raw(&self, flags: VideoOverlayFormatFlags) -> Buffer[src]

pub fn get_pixels_ayuv(&self, flags: VideoOverlayFormatFlags) -> Buffer[src]

pub fn get_pixels_argb(&self, flags: VideoOverlayFormatFlags) -> Buffer[src]

Trait Implementations

impl AsRef<VideoOverlayRectangleRef> for VideoOverlayRectangle

impl Borrow<VideoOverlayRectangleRef> for VideoOverlayRectangle

impl Debug for VideoOverlayRectangleRef[src]

impl MiniObject for VideoOverlayRectangleRef

type GstType = GstVideoOverlayRectangle

impl Send for VideoOverlayRectangleRef

impl StaticType for VideoOverlayRectangleRef

impl Sync for VideoOverlayRectangleRef

impl ToOwned for VideoOverlayRectangleRef

type Owned = VideoOverlayRectangle

The resulting type after obtaining ownership.

Auto Trait Implementations

impl RefUnwindSafe for VideoOverlayRectangleRef

impl Unpin for VideoOverlayRectangleRef

impl UnwindSafe for VideoOverlayRectangleRef

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.