[][src]Struct gstreamer_video::VideoOverlayComposition

pub struct VideoOverlayComposition { /* fields omitted */ }

Implementations

impl VideoOverlayComposition[src]

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

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

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

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

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

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

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

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

impl VideoOverlayComposition[src]

pub fn new<'a, T: IntoIterator<Item = &'a VideoOverlayRectangle>>(
    rects: T
) -> Result<Self, BoolError>
[src]

Methods from Deref<Target = VideoOverlayCompositionRef>

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

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

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

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

pub fn get_rectangle(
    &self,
    idx: u32
) -> Result<VideoOverlayRectangle, BoolError>
[src]

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

pub fn blend(
    &self,
    frame: &mut VideoFrameRef<&mut BufferRef>
) -> Result<(), BoolError>
[src]

Trait Implementations

impl AsRef<VideoOverlayCompositionRef> for VideoOverlayComposition[src]

impl Borrow<VideoOverlayCompositionRef> for VideoOverlayComposition[src]

impl Clone for VideoOverlayComposition[src]

impl Debug for VideoOverlayComposition[src]

impl Deref for VideoOverlayComposition[src]

type Target = VideoOverlayCompositionRef

The resulting type after dereferencing.

impl Drop for VideoOverlayComposition[src]

impl FromGlibContainerAsVec<*mut GstVideoOverlayComposition, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition[src]

impl FromGlibContainerAsVec<*mut GstVideoOverlayComposition, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayComposition, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayComposition, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition[src]

impl FromGlibPtrBorrow<*const GstVideoOverlayComposition> for VideoOverlayComposition[src]

impl FromGlibPtrBorrow<*mut GstVideoOverlayComposition> for VideoOverlayComposition[src]

impl FromGlibPtrFull<*const GstVideoOverlayComposition> for VideoOverlayComposition[src]

impl FromGlibPtrFull<*mut GstVideoOverlayComposition> for VideoOverlayComposition[src]

impl FromGlibPtrNone<*const GstVideoOverlayComposition> for VideoOverlayComposition[src]

impl FromGlibPtrNone<*mut GstVideoOverlayComposition> for VideoOverlayComposition[src]

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

impl GlibPtrDefault for VideoOverlayComposition[src]

type GlibType = *mut GstVideoOverlayComposition

impl Send for VideoOverlayComposition[src]

impl SetValue for VideoOverlayComposition[src]

impl SetValueOptional for VideoOverlayComposition[src]

impl StaticType for VideoOverlayComposition[src]

impl Sync for VideoOverlayComposition[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition[src]

type Storage = (Vec<Stash<'a, *mut GstVideoOverlayComposition, VideoOverlayComposition>>, Option<Vec<*mut GstVideoOverlayComposition>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition[src]

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

impl<'a> ToGlibPtr<'a, *const GstVideoOverlayComposition> for VideoOverlayComposition[src]

type Storage = &'a Self

impl<'a> ToGlibPtr<'a, *mut GstVideoOverlayComposition> for VideoOverlayComposition[src]

type Storage = &'a Self

impl<'a> ToGlibPtrMut<'a, *mut GstVideoOverlayComposition> for VideoOverlayComposition[src]

type Storage = &'a mut Self

Auto Trait Implementations

impl RefUnwindSafe for VideoOverlayComposition

impl Unpin for VideoOverlayComposition

impl UnwindSafe for VideoOverlayComposition

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.