Struct gstreamer_video::VideoOverlayComposition [−][src]
pub struct VideoOverlayComposition { /* fields omitted */ }
Implementations
pub fn new<'a, T: IntoIterator<Item = &'a VideoOverlayRectangle>>(
rects: T
) -> Result<Self, BoolError>
[src]Methods from Deref<Target = VideoOverlayCompositionRef>
Trait Implementations
Performs the conversion.
Immutably borrows from an owned value. Read more
type Target = VideoOverlayCompositionRef
type Target = VideoOverlayCompositionRef
The resulting type after dereferencing.
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
[src]unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstVideoOverlayComposition,
_: usize
) -> Vec<Self>
[src]unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstVideoOverlayComposition,
_: usize
) -> Vec<Self>
[src]unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
[src]unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
[src]unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstVideoOverlayComposition,
num: usize
) -> Vec<Self>
[src]Safety Read more
Safety Read more
Safety Read more
Safety Read more
Safety Read more
Safety Read more
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
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]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]Transfer: none. Read more
Convert an Option
to a Value
.
Auto Trait Implementations
impl RefUnwindSafe for VideoOverlayComposition
impl Unpin for VideoOverlayComposition
impl UnwindSafe for VideoOverlayComposition
Blanket Implementations
Mutably borrows from an owned value. Read more
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]