Struct gstreamer_video::VideoOverlayRectangleRef[][src]

#[repr(transparent)]
pub struct VideoOverlayRectangleRef(_);

Implementations

impl VideoOverlayRectangleRef[src]

pub unsafe fn as_ptr(&self) -> *const GstVideoOverlayRectangle[src]

pub unsafe fn as_mut_ptr(&self) -> *mut GstVideoOverlayRectangle[src]

pub unsafe fn from_ptr<'a>(ptr: *const GstVideoOverlayRectangle) -> &'a Self[src]

pub unsafe fn from_mut_ptr<'a>(
    ptr: *mut GstVideoOverlayRectangle
) -> &'a mut Self
[src]

pub fn copy(&self) -> VideoOverlayRectangle[src]

impl VideoOverlayRectangleRef[src]

pub fn flags(&self) -> VideoOverlayFormatFlags[src]

pub fn global_alpha(&self) -> f32[src]

pub fn set_global_alpha(&mut self, alpha: f32)[src]

pub fn seqnum(&self) -> u32[src]

pub fn render_rectangle(&self) -> (i32, i32, u32, u32)[src]

pub fn set_render_rectangle(
    &mut self,
    render_x: i32,
    render_y: i32,
    render_width: u32,
    render_height: 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]

fn as_ref(&self) -> &VideoOverlayRectangleRef[src]

Performs the conversion.

impl Borrow<VideoOverlayRectangleRef> for VideoOverlayRectangle[src]

fn borrow(&self) -> &VideoOverlayRectangleRef[src]

Immutably borrows from an owned value. Read more

impl Debug for VideoOverlayRectangleRef[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'a> FromValue<'a> for &'a VideoOverlayRectangleRef[src]

type Checker = GenericValueTypeOrNoneChecker<Self>

Value type checker.

unsafe fn from_value(value: &'a Value) -> Self[src]

Get the contained value from a Value. Read more

impl GlibPtrDefault for VideoOverlayRectangleRef[src]

type GlibType = *mut GstVideoOverlayRectangle

impl StaticType for VideoOverlayRectangleRef[src]

fn static_type() -> Type[src]

Returns the type identifier of Self.

impl ToOwned for VideoOverlayRectangleRef[src]

type Owned = VideoOverlayRectangle

The resulting type after obtaining ownership.

fn to_owned(&self) -> VideoOverlayRectangle[src]

Creates owned data from borrowed data, usually by cloning. Read more

fn clone_into(&self, target: &mut Self::Owned)[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 Send for VideoOverlayRectangleRef[src]

impl Sync for VideoOverlayRectangleRef[src]

Auto Trait Implementations

impl RefUnwindSafe for VideoOverlayRectangleRef

impl Unpin for VideoOverlayRectangleRef

impl UnwindSafe for VideoOverlayRectangleRef

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.