[−]Struct gstreamer_video::VideoOverlayRectangle
Methods
impl VideoOverlayRectangle
pub unsafe fn from_glib_none(ptr: *const GstVideoOverlayRectangle) -> Self
pub unsafe fn from_glib_full(ptr: *const GstVideoOverlayRectangle) -> Self
pub unsafe fn from_glib_borrow(ptr: *const GstVideoOverlayRectangle) -> Self
pub unsafe fn into_ptr(self) -> *mut GstVideoOverlayRectangle
pub fn copy(&self) -> Self
impl VideoOverlayRectangle
[src]
pub fn new_raw(
buffer: &Buffer,
render_x: i32,
render_y: i32,
render_width: u32,
render_height: u32,
flags: VideoOverlayFormatFlags
) -> Self
[src]
buffer: &Buffer,
render_x: i32,
render_y: i32,
render_width: u32,
render_height: u32,
flags: VideoOverlayFormatFlags
) -> Self
Trait Implementations
impl AsRef<VideoOverlayRectangleRef> for VideoOverlayRectangle
fn as_ref(&self) -> &VideoOverlayRectangleRef
impl Borrow<VideoOverlayRectangleRef> for VideoOverlayRectangle
fn borrow(&self) -> &VideoOverlayRectangleRef
impl Clone for VideoOverlayRectangle
fn clone(&self) -> VideoOverlayRectangle
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VideoOverlayRectangle
[src]
impl Deref for VideoOverlayRectangle
type Target = GstRc<VideoOverlayRectangleRef>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl DerefMut for VideoOverlayRectangle
impl From<GstRc<VideoOverlayRectangleRef>> for VideoOverlayRectangle
fn from(rc: GstRc<VideoOverlayRectangleRef>) -> VideoOverlayRectangle
impl FromGlibContainerAsVec<*mut GstVideoOverlayRectangle, *const *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
ptr: *const *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstVideoOverlayRectangle,
_: usize
) -> Vec<Self>
_: *const *mut GstVideoOverlayRectangle,
_: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstVideoOverlayRectangle,
_: usize
) -> Vec<Self>
_: *const *mut GstVideoOverlayRectangle,
_: usize
) -> Vec<Self>
impl FromGlibContainerAsVec<*mut GstVideoOverlayRectangle, *mut *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
ptr: *mut *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
ptr: *mut *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
ptr: *mut *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayRectangle, *const *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
unsafe fn from_glib_none_as_vec(
ptr: *const *mut GstVideoOverlayRectangle
) -> Vec<Self>
ptr: *const *mut GstVideoOverlayRectangle
) -> Vec<Self>
unsafe fn from_glib_container_as_vec(
_: *const *mut GstVideoOverlayRectangle
) -> Vec<Self>
_: *const *mut GstVideoOverlayRectangle
) -> Vec<Self>
unsafe fn from_glib_full_as_vec(
_: *const *mut GstVideoOverlayRectangle
) -> Vec<Self>
_: *const *mut GstVideoOverlayRectangle
) -> Vec<Self>
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayRectangle, *mut *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
unsafe fn from_glib_none_as_vec(
ptr: *mut *mut GstVideoOverlayRectangle
) -> Vec<Self>
ptr: *mut *mut GstVideoOverlayRectangle
) -> Vec<Self>
unsafe fn from_glib_container_as_vec(
ptr: *mut *mut GstVideoOverlayRectangle
) -> Vec<Self>
ptr: *mut *mut GstVideoOverlayRectangle
) -> Vec<Self>
unsafe fn from_glib_full_as_vec(
ptr: *mut *mut GstVideoOverlayRectangle
) -> Vec<Self>
ptr: *mut *mut GstVideoOverlayRectangle
) -> Vec<Self>
impl FromGlibPtrBorrow<*const GstVideoOverlayRectangle> for VideoOverlayRectangle
unsafe fn from_glib_borrow(ptr: *const GstVideoOverlayRectangle) -> Self
impl FromGlibPtrBorrow<*mut GstVideoOverlayRectangle> for VideoOverlayRectangle
unsafe fn from_glib_borrow(ptr: *mut GstVideoOverlayRectangle) -> Self
impl FromGlibPtrFull<*const GstVideoOverlayRectangle> for VideoOverlayRectangle
unsafe fn from_glib_full(ptr: *const GstVideoOverlayRectangle) -> Self
impl FromGlibPtrFull<*mut GstVideoOverlayRectangle> for VideoOverlayRectangle
unsafe fn from_glib_full(ptr: *mut GstVideoOverlayRectangle) -> Self
impl FromGlibPtrNone<*const GstVideoOverlayRectangle> for VideoOverlayRectangle
unsafe fn from_glib_none(ptr: *const GstVideoOverlayRectangle) -> Self
impl FromGlibPtrNone<*mut GstVideoOverlayRectangle> for VideoOverlayRectangle
unsafe fn from_glib_none(ptr: *mut GstVideoOverlayRectangle) -> Self
impl<'a> FromValueOptional<'a> for VideoOverlayRectangle
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
impl GlibPtrDefault for VideoOverlayRectangle
type GlibType = *mut GstVideoOverlayRectangle
impl Into<GstRc<VideoOverlayRectangleRef>> for VideoOverlayRectangle
fn into(self) -> GstRc<VideoOverlayRectangleRef>
impl SetValue for VideoOverlayRectangle
impl SetValueOptional for VideoOverlayRectangle
unsafe fn set_value_optional(v: &mut Value, s: Option<&Self>)
impl StaticType for VideoOverlayRectangle
fn static_type() -> Type
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
type Storage = (Vec<Stash<'a, *mut GstVideoOverlayRectangle, VideoOverlayRectangle>>, Option<Vec<*mut GstVideoOverlayRectangle>>)
fn to_glib_none_from_slice(
t: &'a [VideoOverlayRectangle]
) -> (*const *mut GstVideoOverlayRectangle, Self::Storage)
t: &'a [VideoOverlayRectangle]
) -> (*const *mut GstVideoOverlayRectangle, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [VideoOverlayRectangle]
) -> (*const *mut GstVideoOverlayRectangle, Self::Storage)
_: &'a [VideoOverlayRectangle]
) -> (*const *mut GstVideoOverlayRectangle, Self::Storage)
fn to_glib_full_from_slice(
_: &[VideoOverlayRectangle]
) -> *const *mut GstVideoOverlayRectangle
_: &[VideoOverlayRectangle]
) -> *const *mut GstVideoOverlayRectangle
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
type Storage = (Vec<Stash<'a, *mut GstVideoOverlayRectangle, VideoOverlayRectangle>>, Option<Vec<*mut GstVideoOverlayRectangle>>)
fn to_glib_none_from_slice(
t: &'a [VideoOverlayRectangle]
) -> (*mut *mut GstVideoOverlayRectangle, Self::Storage)
t: &'a [VideoOverlayRectangle]
) -> (*mut *mut GstVideoOverlayRectangle, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [VideoOverlayRectangle]
) -> (*mut *mut GstVideoOverlayRectangle, Self::Storage)
t: &'a [VideoOverlayRectangle]
) -> (*mut *mut GstVideoOverlayRectangle, Self::Storage)
fn to_glib_full_from_slice(
t: &[VideoOverlayRectangle]
) -> *mut *mut GstVideoOverlayRectangle
t: &[VideoOverlayRectangle]
) -> *mut *mut GstVideoOverlayRectangle
impl<'a> ToGlibPtr<'a, *const GstVideoOverlayRectangle> for VideoOverlayRectangle
type Storage = Stash<'a, *const GstVideoOverlayRectangle, GstRc<VideoOverlayRectangleRef>>
fn to_glib_none(&'a self) -> Stash<'a, *const GstVideoOverlayRectangle, Self>
fn to_glib_full(&self) -> *const GstVideoOverlayRectangle
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
impl<'a> ToGlibPtr<'a, *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
type Storage = Stash<'a, *mut GstVideoOverlayRectangle, GstRc<VideoOverlayRectangleRef>>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstVideoOverlayRectangle, Self>
fn to_glib_full(&self) -> *mut GstVideoOverlayRectangle
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
impl<'a> ToGlibPtrMut<'a, *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
type Storage = StashMut<'a, *mut GstVideoOverlayRectangle, GstRc<VideoOverlayRectangleRef>>
fn to_glib_none_mut(
&'a mut self
) -> StashMut<*mut GstVideoOverlayRectangle, Self>
&'a mut self
) -> StashMut<*mut GstVideoOverlayRectangle, Self>
Auto Trait Implementations
impl RefUnwindSafe for VideoOverlayRectangle
impl Send for VideoOverlayRectangle
impl Sync for VideoOverlayRectangle
impl Unpin for VideoOverlayRectangle
impl UnwindSafe for VideoOverlayRectangle
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>,