Struct gstreamer_video::VideoOverlayRectangle [−][src]
pub struct VideoOverlayRectangle { /* fields omitted */ }
Implementations
impl VideoOverlayRectangle
[src]
impl VideoOverlayRectangle
[src]pub unsafe fn from_glib_none(ptr: *const GstVideoOverlayRectangle) -> Self
[src]
pub unsafe fn from_glib_full(ptr: *const GstVideoOverlayRectangle) -> Self
[src]
pub unsafe fn from_glib_borrow(
ptr: *const GstVideoOverlayRectangle
) -> Borrowed<Self>
[src]
ptr: *const GstVideoOverlayRectangle
) -> Borrowed<Self>
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstVideoOverlayRectangle)
[src]
pub fn make_mut(&mut self) -> &mut VideoOverlayRectangleRef
[src]
pub fn get_mut(&mut self) -> Option<&mut VideoOverlayRectangleRef>
[src]
pub fn is_writable(&self) -> bool
[src]
pub unsafe fn into_ptr(self) -> *mut GstVideoOverlayRectangle
[src]
impl VideoOverlayRectangle
[src]
impl VideoOverlayRectangle
[src]Methods from Deref<Target = VideoOverlayRectangleRef>
pub unsafe fn as_ptr(&self) -> *const GstVideoOverlayRectangle
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstVideoOverlayRectangle
[src]
pub fn copy(&self) -> VideoOverlayRectangle
[src]
pub fn flags(&self) -> VideoOverlayFormatFlags
[src]
pub fn global_alpha(&self) -> f32
[src]
pub fn seqnum(&self) -> u32
[src]
pub fn render_rectangle(&self) -> (i32, i32, u32, u32)
[src]
pub fn pixels_unscaled_raw(&self, flags: VideoOverlayFormatFlags) -> Buffer
[src]
pub fn pixels_unscaled_ayuv(&self, flags: VideoOverlayFormatFlags) -> Buffer
[src]
pub fn pixels_unscaled_argb(&self, flags: VideoOverlayFormatFlags) -> Buffer
[src]
pub fn pixels_raw(&self, flags: VideoOverlayFormatFlags) -> Buffer
[src]
pub fn pixels_ayuv(&self, flags: VideoOverlayFormatFlags) -> Buffer
[src]
pub fn pixels_argb(&self, flags: VideoOverlayFormatFlags) -> Buffer
[src]
Trait Implementations
impl AsRef<VideoOverlayRectangleRef> for VideoOverlayRectangle
[src]
impl AsRef<VideoOverlayRectangleRef> for VideoOverlayRectangle
[src]fn as_ref(&self) -> &VideoOverlayRectangleRef
[src]
fn as_ref(&self) -> &VideoOverlayRectangleRef
[src]Performs the conversion.
impl Borrow<VideoOverlayRectangleRef> for VideoOverlayRectangle
[src]
impl Borrow<VideoOverlayRectangleRef> for VideoOverlayRectangle
[src]fn borrow(&self) -> &VideoOverlayRectangleRef
[src]
fn borrow(&self) -> &VideoOverlayRectangleRef
[src]Immutably borrows from an owned value. Read more
impl Clone for VideoOverlayRectangle
[src]
impl Clone for VideoOverlayRectangle
[src]impl Debug for VideoOverlayRectangle
[src]
impl Debug for VideoOverlayRectangle
[src]impl Deref for VideoOverlayRectangle
[src]
impl Deref for VideoOverlayRectangle
[src]type Target = VideoOverlayRectangleRef
type Target = VideoOverlayRectangleRef
The resulting type after dereferencing.
impl Drop for VideoOverlayRectangle
[src]
impl Drop for VideoOverlayRectangle
[src]impl FromGlibContainerAsVec<*mut GstVideoOverlayRectangle, *const *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl FromGlibContainerAsVec<*mut GstVideoOverlayRectangle, *const *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
[src]
ptr: *const *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstVideoOverlayRectangle,
_: usize
) -> Vec<Self>
[src]
_: *const *mut GstVideoOverlayRectangle,
_: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstVideoOverlayRectangle,
_: usize
) -> Vec<Self>
[src]
_: *const *mut GstVideoOverlayRectangle,
_: usize
) -> Vec<Self>
impl FromGlibContainerAsVec<*mut GstVideoOverlayRectangle, *mut *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl FromGlibContainerAsVec<*mut GstVideoOverlayRectangle, *mut *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstVideoOverlayRectangle,
num: usize
) -> Vec<Self>
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayRectangle, *const *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayRectangle, *const *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]unsafe fn from_glib_none_as_vec(
ptr: *const *mut GstVideoOverlayRectangle
) -> Vec<Self>
[src]
ptr: *const *mut GstVideoOverlayRectangle
) -> Vec<Self>
unsafe fn from_glib_container_as_vec(
_: *const *mut GstVideoOverlayRectangle
) -> Vec<Self>
[src]
_: *const *mut GstVideoOverlayRectangle
) -> Vec<Self>
unsafe fn from_glib_full_as_vec(
_: *const *mut GstVideoOverlayRectangle
) -> Vec<Self>
[src]
_: *const *mut GstVideoOverlayRectangle
) -> Vec<Self>
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayRectangle, *mut *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstVideoOverlayRectangle, *mut *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]unsafe fn from_glib_none_as_vec(
ptr: *mut *mut GstVideoOverlayRectangle
) -> Vec<Self>
[src]
ptr: *mut *mut GstVideoOverlayRectangle
) -> Vec<Self>
unsafe fn from_glib_container_as_vec(
ptr: *mut *mut GstVideoOverlayRectangle
) -> Vec<Self>
[src]
ptr: *mut *mut GstVideoOverlayRectangle
) -> Vec<Self>
unsafe fn from_glib_full_as_vec(
ptr: *mut *mut GstVideoOverlayRectangle
) -> Vec<Self>
[src]
ptr: *mut *mut GstVideoOverlayRectangle
) -> Vec<Self>
impl FromGlibPtrBorrow<*const GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl FromGlibPtrBorrow<*const GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]unsafe fn from_glib_borrow(
ptr: *const GstVideoOverlayRectangle
) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(
ptr: *const GstVideoOverlayRectangle
) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrBorrow<*mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl FromGlibPtrBorrow<*mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]unsafe fn from_glib_borrow(ptr: *mut GstVideoOverlayRectangle) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(ptr: *mut GstVideoOverlayRectangle) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrFull<*const GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl FromGlibPtrFull<*const GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]unsafe fn from_glib_full(ptr: *const GstVideoOverlayRectangle) -> Self
[src]
unsafe fn from_glib_full(ptr: *const GstVideoOverlayRectangle) -> Self
[src]Safety Read more
impl FromGlibPtrFull<*mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl FromGlibPtrFull<*mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]unsafe fn from_glib_full(ptr: *mut GstVideoOverlayRectangle) -> Self
[src]
unsafe fn from_glib_full(ptr: *mut GstVideoOverlayRectangle) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*const GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl FromGlibPtrNone<*const GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]unsafe fn from_glib_none(ptr: *const GstVideoOverlayRectangle) -> Self
[src]
unsafe fn from_glib_none(ptr: *const GstVideoOverlayRectangle) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl FromGlibPtrNone<*mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]unsafe fn from_glib_none(ptr: *mut GstVideoOverlayRectangle) -> Self
[src]
unsafe fn from_glib_none(ptr: *mut GstVideoOverlayRectangle) -> Self
[src]Safety Read more
impl<'a> FromValue<'a> for VideoOverlayRectangle
[src]
impl<'a> FromValue<'a> for VideoOverlayRectangle
[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 GlibPtrDefault for VideoOverlayRectangle
[src]
impl GlibPtrDefault for VideoOverlayRectangle
[src]impl StaticType for VideoOverlayRectangle
[src]
impl StaticType for VideoOverlayRectangle
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]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)
[src]
t: &'a [VideoOverlayRectangle]
) -> (*const *mut GstVideoOverlayRectangle, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [VideoOverlayRectangle]
) -> (*const *mut GstVideoOverlayRectangle, Self::Storage)
[src]
_: &'a [VideoOverlayRectangle]
) -> (*const *mut GstVideoOverlayRectangle, Self::Storage)
fn to_glib_full_from_slice(
_: &[VideoOverlayRectangle]
) -> *const *mut GstVideoOverlayRectangle
[src]
_: &[VideoOverlayRectangle]
) -> *const *mut GstVideoOverlayRectangle
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]type Storage = (Vec<Stash<'a, *mut GstVideoOverlayRectangle, Self>>, Option<Vec<*mut GstVideoOverlayRectangle>>)
fn to_glib_none_from_slice(
t: &'a [VideoOverlayRectangle]
) -> (*mut *mut GstVideoOverlayRectangle, Self::Storage)
[src]
t: &'a [VideoOverlayRectangle]
) -> (*mut *mut GstVideoOverlayRectangle, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [VideoOverlayRectangle]
) -> (*mut *mut GstVideoOverlayRectangle, Self::Storage)
[src]
t: &'a [VideoOverlayRectangle]
) -> (*mut *mut GstVideoOverlayRectangle, Self::Storage)
fn to_glib_full_from_slice(
t: &[VideoOverlayRectangle]
) -> *mut *mut GstVideoOverlayRectangle
[src]
t: &[VideoOverlayRectangle]
) -> *mut *mut GstVideoOverlayRectangle
impl<'a> ToGlibPtr<'a, *const GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl<'a> ToGlibPtr<'a, *const GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GstVideoOverlayRectangle, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *const GstVideoOverlayRectangle, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *const GstVideoOverlayRectangle
[src]
fn to_glib_full(&self) -> *const GstVideoOverlayRectangle
[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 GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl<'a> ToGlibPtr<'a, *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *mut GstVideoOverlayRectangle, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *mut GstVideoOverlayRectangle, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *mut GstVideoOverlayRectangle
[src]
fn to_glib_full(&self) -> *mut GstVideoOverlayRectangle
[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 GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]
impl<'a> ToGlibPtrMut<'a, *mut GstVideoOverlayRectangle> for VideoOverlayRectangle
[src]impl ToValue for VideoOverlayRectangle
[src]
impl ToValue for VideoOverlayRectangle
[src]impl ToValueOptional for VideoOverlayRectangle
[src]
impl ToValueOptional for VideoOverlayRectangle
[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 VideoOverlayRectangle
[src]
impl ValueType for VideoOverlayRectangle
[src]impl Send for VideoOverlayRectangle
[src]
impl Sync for VideoOverlayRectangle
[src]
Auto Trait Implementations
impl RefUnwindSafe for VideoOverlayRectangle
impl Unpin for VideoOverlayRectangle
impl UnwindSafe for VideoOverlayRectangle
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>,