Struct gstreamer_video::VideoOverlayCompositionRef[][src]

#[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 rectangle(&self, idx: u32) -> Result<VideoOverlayRectangle, BoolError>[src]

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

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

Trait Implementations

impl AsRef<VideoOverlayCompositionRef> for VideoOverlayComposition[src]

fn as_ref(&self) -> &VideoOverlayCompositionRef[src]

Performs the conversion.

impl Borrow<VideoOverlayCompositionRef> for VideoOverlayComposition[src]

fn borrow(&self) -> &VideoOverlayCompositionRef[src]

Immutably borrows from an owned value. Read more

impl Debug for VideoOverlayCompositionRef[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

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

type Checker = GenericValueTypeOrNoneChecker<Self>

Value type checker.

unsafe fn from_value(value: &'a Value) -> Self[src]

Get the contained value from a Value. Read more

impl GlibPtrDefault for VideoOverlayCompositionRef[src]

type GlibType = *mut GstVideoOverlayComposition

impl StaticType for VideoOverlayCompositionRef[src]

fn static_type() -> Type[src]

Returns the type identifier of Self.

impl ToOwned for VideoOverlayCompositionRef[src]

type Owned = VideoOverlayComposition

The resulting type after obtaining ownership.

fn to_owned(&self) -> VideoOverlayComposition[src]

Creates owned data from borrowed data, usually by cloning. Read more

fn clone_into(&self, target: &mut Self::Owned)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl Send for VideoOverlayCompositionRef[src]

impl Sync for VideoOverlayCompositionRef[src]

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]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.