[][src]Struct gstreamer_video::VideoOverlayCompositionRef

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

Implementations

impl VideoOverlayCompositionRef[src]

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

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

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

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

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

impl VideoOverlayCompositionRef[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 Debug for VideoOverlayCompositionRef[src]

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

impl GlibPtrDefault for VideoOverlayCompositionRef[src]

type GlibType = *mut GstVideoOverlayComposition

impl Send for VideoOverlayCompositionRef[src]

impl StaticType for VideoOverlayCompositionRef[src]

impl Sync for VideoOverlayCompositionRef[src]

impl ToOwned for VideoOverlayCompositionRef[src]

type Owned = VideoOverlayComposition

The resulting type after obtaining ownership.

Auto Trait Implementations

impl RefUnwindSafe for VideoOverlayCompositionRef

impl Unpin for VideoOverlayCompositionRef

impl UnwindSafe for VideoOverlayCompositionRef

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.