Struct gstreamer_video::VideoOverlayComposition [−][src]
pub struct VideoOverlayComposition { /* fields omitted */ }
Implementations
impl VideoOverlayComposition
[src]
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]
ptr: *const GstVideoOverlayComposition
) -> Borrowed<Self>
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]
impl VideoOverlayComposition
[src]pub fn new<'a, T: IntoIterator<Item = &'a VideoOverlayRectangle>>(
rects: T
) -> Result<Self, BoolError>
[src]
rects: T
) -> Result<Self, BoolError>
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 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]
&self,
frame: &mut VideoFrameRef<&mut BufferRef>
) -> Result<(), BoolError>
Trait Implementations
impl AsRef<VideoOverlayCompositionRef> for VideoOverlayComposition
[src]
impl AsRef<VideoOverlayCompositionRef> for VideoOverlayComposition
[src]fn as_ref(&self) -> &VideoOverlayCompositionRef
[src]
fn as_ref(&self) -> &VideoOverlayCompositionRef
[src]Performs the conversion.
impl Borrow<VideoOverlayCompositionRef> for VideoOverlayComposition
[src]
impl Borrow<VideoOverlayCompositionRef> for VideoOverlayComposition
[src]fn borrow(&self) -> &VideoOverlayCompositionRef
[src]
fn borrow(&self) -> &VideoOverlayCompositionRef
[src]Immutably borrows from an owned value. Read more
impl Clone for VideoOverlayComposition
[src]
impl Clone for VideoOverlayComposition
[src]impl Debug for VideoOverlayComposition
[src]
impl Debug for VideoOverlayComposition
[src]impl Deref for VideoOverlayComposition
[src]
impl Deref for VideoOverlayComposition
[src]type Target = VideoOverlayCompositionRef
type Target = VideoOverlayCompositionRef
The resulting type after dereferencing.
impl Drop for VideoOverlayComposition
[src]
impl Drop for VideoOverlayComposition
[src]impl FromGlibContainerAsVec<*mut GstVideoOverlayComposition, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl FromGlibContainerAsVec<*mut GstVideoOverlayComposition, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
[src]
ptr: *const *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstVideoOverlayComposition,
_: usize
) -> Vec<Self>
[src]
_: *const *mut GstVideoOverlayComposition,
_: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstVideoOverlayComposition,
_: usize
) -> Vec<Self>
[src]
_: *const *mut GstVideoOverlayComposition,
_: usize
) -> Vec<Self>
impl FromGlibContainerAsVec<*mut GstVideoOverlayComposition, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl FromGlibContainerAsVec<*mut GstVideoOverlayComposition, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayComposition, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayComposition, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]unsafe fn from_glib_none_as_vec(
ptr: *const *mut GstVideoOverlayComposition
) -> Vec<Self>
[src]
ptr: *const *mut GstVideoOverlayComposition
) -> Vec<Self>
unsafe fn from_glib_container_as_vec(
_: *const *mut GstVideoOverlayComposition
) -> Vec<Self>
[src]
_: *const *mut GstVideoOverlayComposition
) -> Vec<Self>
unsafe fn from_glib_full_as_vec(
_: *const *mut GstVideoOverlayComposition
) -> Vec<Self>
[src]
_: *const *mut GstVideoOverlayComposition
) -> Vec<Self>
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayComposition, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayComposition, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]unsafe fn from_glib_none_as_vec(
ptr: *mut *mut GstVideoOverlayComposition
) -> Vec<Self>
[src]
ptr: *mut *mut GstVideoOverlayComposition
) -> Vec<Self>
unsafe fn from_glib_container_as_vec(
ptr: *mut *mut GstVideoOverlayComposition
) -> Vec<Self>
[src]
ptr: *mut *mut GstVideoOverlayComposition
) -> Vec<Self>
unsafe fn from_glib_full_as_vec(
ptr: *mut *mut GstVideoOverlayComposition
) -> Vec<Self>
[src]
ptr: *mut *mut GstVideoOverlayComposition
) -> Vec<Self>
impl FromGlibPtrBorrow<*const GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl FromGlibPtrBorrow<*const GstVideoOverlayComposition> for VideoOverlayComposition
[src]unsafe fn from_glib_borrow(
ptr: *const GstVideoOverlayComposition
) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(
ptr: *const GstVideoOverlayComposition
) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrBorrow<*mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl FromGlibPtrBorrow<*mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]unsafe fn from_glib_borrow(
ptr: *mut GstVideoOverlayComposition
) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(
ptr: *mut GstVideoOverlayComposition
) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrFull<*const GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl FromGlibPtrFull<*const GstVideoOverlayComposition> for VideoOverlayComposition
[src]unsafe fn from_glib_full(ptr: *const GstVideoOverlayComposition) -> Self
[src]
unsafe fn from_glib_full(ptr: *const GstVideoOverlayComposition) -> Self
[src]Safety Read more
impl FromGlibPtrFull<*mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl FromGlibPtrFull<*mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]unsafe fn from_glib_full(ptr: *mut GstVideoOverlayComposition) -> Self
[src]
unsafe fn from_glib_full(ptr: *mut GstVideoOverlayComposition) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*const GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl FromGlibPtrNone<*const GstVideoOverlayComposition> for VideoOverlayComposition
[src]unsafe fn from_glib_none(ptr: *const GstVideoOverlayComposition) -> Self
[src]
unsafe fn from_glib_none(ptr: *const GstVideoOverlayComposition) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl FromGlibPtrNone<*mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]unsafe fn from_glib_none(ptr: *mut GstVideoOverlayComposition) -> Self
[src]
unsafe fn from_glib_none(ptr: *mut GstVideoOverlayComposition) -> Self
[src]Safety Read more
impl<'a> FromValue<'a> for VideoOverlayComposition
[src]
impl<'a> FromValue<'a> for VideoOverlayComposition
[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
[src]Get the contained value from a Value
. Read more
impl StaticType for VideoOverlayComposition
[src]
impl StaticType for VideoOverlayComposition
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstVideoOverlayComposition> 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>>)
fn to_glib_none_from_slice(
t: &'a [VideoOverlayComposition]
) -> (*const *mut GstVideoOverlayComposition, Self::Storage)
[src]
t: &'a [VideoOverlayComposition]
) -> (*const *mut GstVideoOverlayComposition, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [VideoOverlayComposition]
) -> (*const *mut GstVideoOverlayComposition, Self::Storage)
[src]
_: &'a [VideoOverlayComposition]
) -> (*const *mut GstVideoOverlayComposition, Self::Storage)
fn to_glib_full_from_slice(
_: &[VideoOverlayComposition]
) -> *const *mut GstVideoOverlayComposition
[src]
_: &[VideoOverlayComposition]
) -> *const *mut GstVideoOverlayComposition
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]type Storage = (Vec<Stash<'a, *mut GstVideoOverlayComposition, Self>>, Option<Vec<*mut GstVideoOverlayComposition>>)
fn to_glib_none_from_slice(
t: &'a [VideoOverlayComposition]
) -> (*mut *mut GstVideoOverlayComposition, Self::Storage)
[src]
t: &'a [VideoOverlayComposition]
) -> (*mut *mut GstVideoOverlayComposition, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [VideoOverlayComposition]
) -> (*mut *mut GstVideoOverlayComposition, Self::Storage)
[src]
t: &'a [VideoOverlayComposition]
) -> (*mut *mut GstVideoOverlayComposition, Self::Storage)
fn to_glib_full_from_slice(
t: &[VideoOverlayComposition]
) -> *mut *mut GstVideoOverlayComposition
[src]
t: &[VideoOverlayComposition]
) -> *mut *mut GstVideoOverlayComposition
impl<'a> ToGlibPtr<'a, *const GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl<'a> ToGlibPtr<'a, *const GstVideoOverlayComposition> for VideoOverlayComposition
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GstVideoOverlayComposition, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *const GstVideoOverlayComposition, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *const GstVideoOverlayComposition
[src]
fn to_glib_full(&self) -> *const GstVideoOverlayComposition
[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]Transfer: container. Read more
impl<'a> ToGlibPtr<'a, *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl<'a> ToGlibPtr<'a, *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *mut GstVideoOverlayComposition, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *mut GstVideoOverlayComposition, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *mut GstVideoOverlayComposition
[src]
fn to_glib_full(&self) -> *mut GstVideoOverlayComposition
[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]Transfer: container. Read more
impl<'a> ToGlibPtrMut<'a, *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]
impl<'a> ToGlibPtrMut<'a, *mut GstVideoOverlayComposition> for VideoOverlayComposition
[src]impl ToValue for VideoOverlayComposition
[src]
impl ToValue for VideoOverlayComposition
[src]impl ToValueOptional for VideoOverlayComposition
[src]
impl ToValueOptional for VideoOverlayComposition
[src]fn to_value_optional(s: Option<&Self>) -> Value
[src]
fn to_value_optional(s: Option<&Self>) -> Value
[src]Convert an Option
to a Value
.
impl ValueType for VideoOverlayComposition
[src]
impl ValueType for VideoOverlayComposition
[src]impl Send for VideoOverlayComposition
[src]
impl Sync for VideoOverlayComposition
[src]
Auto Trait Implementations
impl RefUnwindSafe for VideoOverlayComposition
impl Unpin for VideoOverlayComposition
impl UnwindSafe for VideoOverlayComposition
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[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<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
pub fn to_send_value(&self) -> SendValue
[src]Returns a SendValue
clone of self
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,