[][src]Struct gstreamer_video::VideoOverlayRectangleRef

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

Implementations

impl VideoOverlayRectangleRef[src]

pub unsafe fn as_ptr(&self) -> *const GstVideoOverlayRectangle[src]

pub unsafe fn as_mut_ptr(&self) -> *mut GstVideoOverlayRectangle[src]

pub unsafe fn from_ptr<'a>(ptr: *const GstVideoOverlayRectangle) -> &'a Self[src]

pub unsafe fn from_mut_ptr<'a>(
    ptr: *mut GstVideoOverlayRectangle
) -> &'a mut Self
[src]

pub fn copy(&self) -> VideoOverlayRectangle[src]

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[src]

impl Borrow<VideoOverlayRectangleRef> for VideoOverlayRectangle[src]

impl Debug for VideoOverlayRectangleRef[src]

impl<'a> FromValueOptional<'a> for &'a VideoOverlayRectangleRef[src]

impl GlibPtrDefault for VideoOverlayRectangleRef[src]

type GlibType = *mut GstVideoOverlayRectangle

impl Send for VideoOverlayRectangleRef[src]

impl StaticType for VideoOverlayRectangleRef[src]

impl Sync for VideoOverlayRectangleRef[src]

impl ToOwned for VideoOverlayRectangleRef[src]

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.