[][src]Struct gstreamer_video::VideoOverlayRectangle

pub struct VideoOverlayRectangle { /* fields omitted */ }

Implementations

impl VideoOverlayRectangle[src]

pub unsafe fn from_glib_none(ptr: *const GstVideoOverlayRectangle) -> Self[src]

pub unsafe fn from_glib_full(ptr: *const GstVideoOverlayRectangle) -> Self[src]

pub unsafe fn from_glib_borrow(
    ptr: *const GstVideoOverlayRectangle
) -> Borrowed<Self>
[src]

pub unsafe fn replace_ptr(&mut self, ptr: *mut GstVideoOverlayRectangle)[src]

pub fn make_mut(&mut self) -> &mut VideoOverlayRectangleRef[src]

pub fn get_mut(&mut self) -> Option<&mut VideoOverlayRectangleRef>[src]

pub fn is_writable(&self) -> bool[src]

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

impl VideoOverlayRectangle[src]

pub fn new_raw(
    buffer: &Buffer,
    render_x: i32,
    render_y: i32,
    render_width: u32,
    render_height: u32,
    flags: VideoOverlayFormatFlags
) -> Self
[src]

Methods from Deref<Target = VideoOverlayRectangleRef>

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

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

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

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

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

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

pub fn get_render_rectangle(&self) -> (i32, i32, u32, 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 Clone for VideoOverlayRectangle[src]

impl Debug for VideoOverlayRectangle[src]

impl Deref for VideoOverlayRectangle[src]

type Target = VideoOverlayRectangleRef

The resulting type after dereferencing.

impl Drop for VideoOverlayRectangle[src]

impl FromGlibContainerAsVec<*mut GstVideoOverlayRectangle, *const *mut GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

impl FromGlibContainerAsVec<*mut GstVideoOverlayRectangle, *mut *mut GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayRectangle, *const *mut GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayRectangle, *mut *mut GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

impl FromGlibPtrBorrow<*const GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

impl FromGlibPtrBorrow<*mut GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

impl FromGlibPtrFull<*const GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

impl FromGlibPtrFull<*mut GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

impl FromGlibPtrNone<*const GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

impl FromGlibPtrNone<*mut GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

impl<'a> FromValueOptional<'a> for VideoOverlayRectangle[src]

impl GlibPtrDefault for VideoOverlayRectangle[src]

type GlibType = *mut GstVideoOverlayRectangle

impl Send for VideoOverlayRectangle[src]

impl SetValue for VideoOverlayRectangle[src]

impl SetValueOptional for VideoOverlayRectangle[src]

impl StaticType for VideoOverlayRectangle[src]

impl Sync for VideoOverlayRectangle[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

type Storage = (Vec<Stash<'a, *mut GstVideoOverlayRectangle, VideoOverlayRectangle>>, Option<Vec<*mut GstVideoOverlayRectangle>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

type Storage = (Vec<Stash<'a, *mut GstVideoOverlayRectangle, Self>>, Option<Vec<*mut GstVideoOverlayRectangle>>)

impl<'a> ToGlibPtr<'a, *const GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

type Storage = &'a Self

impl<'a> ToGlibPtr<'a, *mut GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

type Storage = &'a Self

impl<'a> ToGlibPtrMut<'a, *mut GstVideoOverlayRectangle> for VideoOverlayRectangle[src]

type Storage = &'a mut Self

Auto Trait Implementations

impl RefUnwindSafe for VideoOverlayRectangle

impl Unpin for VideoOverlayRectangle

impl UnwindSafe for VideoOverlayRectangle

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<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

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.