[−]Struct gstreamer_video::VideoOverlayComposition
Methods
impl VideoOverlayComposition
pub unsafe fn from_glib_none(ptr: *const GstVideoOverlayComposition) -> Self
pub unsafe fn from_glib_full(ptr: *const GstVideoOverlayComposition) -> Self
pub unsafe fn from_glib_borrow(ptr: *const GstVideoOverlayComposition) -> Self
pub unsafe fn into_ptr(self) -> *mut GstVideoOverlayComposition
pub fn copy(&self) -> Self
impl VideoOverlayComposition
[src]
pub fn new<'a, T: IntoIterator<Item = &'a VideoOverlayRectangle>>(
rects: T
) -> Result<Self, BoolError>
[src]
rects: T
) -> Result<Self, BoolError>
Trait Implementations
impl AsRef<VideoOverlayCompositionRef> for VideoOverlayComposition
fn as_ref(&self) -> &VideoOverlayCompositionRef
impl Borrow<VideoOverlayCompositionRef> for VideoOverlayComposition
fn borrow(&self) -> &VideoOverlayCompositionRef
impl Clone for VideoOverlayComposition
fn clone(&self) -> VideoOverlayComposition
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VideoOverlayComposition
[src]
impl Deref for VideoOverlayComposition
type Target = GstRc<VideoOverlayCompositionRef>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl DerefMut for VideoOverlayComposition
impl From<GstRc<VideoOverlayCompositionRef>> for VideoOverlayComposition
fn from(rc: GstRc<VideoOverlayCompositionRef>) -> VideoOverlayComposition
impl FromGlibContainerAsVec<*mut GstVideoOverlayComposition, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
ptr: *const *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstVideoOverlayComposition,
_: usize
) -> Vec<Self>
_: *const *mut GstVideoOverlayComposition,
_: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstVideoOverlayComposition,
_: usize
) -> Vec<Self>
_: *const *mut GstVideoOverlayComposition,
_: usize
) -> Vec<Self>
impl FromGlibContainerAsVec<*mut GstVideoOverlayComposition, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayComposition, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_none_as_vec(
ptr: *const *mut GstVideoOverlayComposition
) -> Vec<Self>
ptr: *const *mut GstVideoOverlayComposition
) -> Vec<Self>
unsafe fn from_glib_container_as_vec(
_: *const *mut GstVideoOverlayComposition
) -> Vec<Self>
_: *const *mut GstVideoOverlayComposition
) -> Vec<Self>
unsafe fn from_glib_full_as_vec(
_: *const *mut GstVideoOverlayComposition
) -> Vec<Self>
_: *const *mut GstVideoOverlayComposition
) -> Vec<Self>
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayComposition, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_none_as_vec(
ptr: *mut *mut GstVideoOverlayComposition
) -> Vec<Self>
ptr: *mut *mut GstVideoOverlayComposition
) -> Vec<Self>
unsafe fn from_glib_container_as_vec(
ptr: *mut *mut GstVideoOverlayComposition
) -> Vec<Self>
ptr: *mut *mut GstVideoOverlayComposition
) -> Vec<Self>
unsafe fn from_glib_full_as_vec(
ptr: *mut *mut GstVideoOverlayComposition
) -> Vec<Self>
ptr: *mut *mut GstVideoOverlayComposition
) -> Vec<Self>
impl FromGlibPtrBorrow<*const GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_borrow(ptr: *const GstVideoOverlayComposition) -> Self
impl FromGlibPtrBorrow<*mut GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_borrow(ptr: *mut GstVideoOverlayComposition) -> Self
impl FromGlibPtrFull<*const GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_full(ptr: *const GstVideoOverlayComposition) -> Self
impl FromGlibPtrFull<*mut GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_full(ptr: *mut GstVideoOverlayComposition) -> Self
impl FromGlibPtrNone<*const GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_none(ptr: *const GstVideoOverlayComposition) -> Self
impl FromGlibPtrNone<*mut GstVideoOverlayComposition> for VideoOverlayComposition
unsafe fn from_glib_none(ptr: *mut GstVideoOverlayComposition) -> Self
impl<'a> FromValueOptional<'a> for VideoOverlayComposition
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
impl GlibPtrDefault for VideoOverlayComposition
impl Into<GstRc<VideoOverlayCompositionRef>> for VideoOverlayComposition
fn into(self) -> GstRc<VideoOverlayCompositionRef>
impl SetValue for VideoOverlayComposition
impl SetValueOptional for VideoOverlayComposition
unsafe fn set_value_optional(v: &mut Value, s: Option<&Self>)
impl StaticType for VideoOverlayComposition
fn static_type() -> Type
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstVideoOverlayComposition> for VideoOverlayComposition
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)
t: &'a [VideoOverlayComposition]
) -> (*const *mut GstVideoOverlayComposition, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [VideoOverlayComposition]
) -> (*const *mut GstVideoOverlayComposition, Self::Storage)
_: &'a [VideoOverlayComposition]
) -> (*const *mut GstVideoOverlayComposition, Self::Storage)
fn to_glib_full_from_slice(
_: &[VideoOverlayComposition]
) -> *const *mut GstVideoOverlayComposition
_: &[VideoOverlayComposition]
) -> *const *mut GstVideoOverlayComposition
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstVideoOverlayComposition> for VideoOverlayComposition
type Storage = (Vec<Stash<'a, *mut GstVideoOverlayComposition, VideoOverlayComposition>>, Option<Vec<*mut GstVideoOverlayComposition>>)
fn to_glib_none_from_slice(
t: &'a [VideoOverlayComposition]
) -> (*mut *mut GstVideoOverlayComposition, Self::Storage)
t: &'a [VideoOverlayComposition]
) -> (*mut *mut GstVideoOverlayComposition, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [VideoOverlayComposition]
) -> (*mut *mut GstVideoOverlayComposition, Self::Storage)
t: &'a [VideoOverlayComposition]
) -> (*mut *mut GstVideoOverlayComposition, Self::Storage)
fn to_glib_full_from_slice(
t: &[VideoOverlayComposition]
) -> *mut *mut GstVideoOverlayComposition
t: &[VideoOverlayComposition]
) -> *mut *mut GstVideoOverlayComposition
impl<'a> ToGlibPtr<'a, *const GstVideoOverlayComposition> for VideoOverlayComposition
type Storage = Stash<'a, *const GstVideoOverlayComposition, GstRc<VideoOverlayCompositionRef>>
fn to_glib_none(&'a self) -> Stash<'a, *const GstVideoOverlayComposition, Self>
fn to_glib_full(&self) -> *const GstVideoOverlayComposition
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
impl<'a> ToGlibPtr<'a, *mut GstVideoOverlayComposition> for VideoOverlayComposition
type Storage = Stash<'a, *mut GstVideoOverlayComposition, GstRc<VideoOverlayCompositionRef>>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstVideoOverlayComposition, Self>
fn to_glib_full(&self) -> *mut GstVideoOverlayComposition
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
impl<'a> ToGlibPtrMut<'a, *mut GstVideoOverlayComposition> for VideoOverlayComposition
type Storage = StashMut<'a, *mut GstVideoOverlayComposition, GstRc<VideoOverlayCompositionRef>>
fn to_glib_none_mut(
&'a mut self
) -> StashMut<*mut GstVideoOverlayComposition, Self>
&'a mut self
) -> StashMut<*mut GstVideoOverlayComposition, Self>
Auto Trait Implementations
impl RefUnwindSafe for VideoOverlayComposition
impl Send for VideoOverlayComposition
impl Sync for VideoOverlayComposition
impl Unpin for VideoOverlayComposition
impl UnwindSafe for VideoOverlayComposition
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GList
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
[src]
t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
[src]
_t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GPtrArray
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GArray
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GList
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GPtrArray
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,