[−]Struct gstreamer_video::VideoOverlayRectangleRef
Methods
impl VideoOverlayRectangleRef
[src]
pub fn get_flags(&self) -> VideoOverlayFormatFlags
[src]
pub fn get_global_alpha(&self) -> f32
[src]
pub fn set_global_alpha(&mut self, alpha: f32)
[src]
pub fn get_seqnum(&self) -> u32
[src]
pub fn get_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]
&mut self,
render_x: i32,
render_y: i32,
render_width: u32,
render_height: u32
)
pub fn get_pixels_unscaled_raw(&self, flags: VideoOverlayFormatFlags) -> Buffer
[src]
pub fn get_pixels_unscaled_ayuv(&self, flags: VideoOverlayFormatFlags) -> Buffer
[src]
pub fn get_pixels_unscaled_argb(&self, flags: VideoOverlayFormatFlags) -> Buffer
[src]
pub fn get_pixels_raw(&self, flags: VideoOverlayFormatFlags) -> Buffer
[src]
pub fn get_pixels_ayuv(&self, flags: VideoOverlayFormatFlags) -> Buffer
[src]
pub fn get_pixels_argb(&self, flags: VideoOverlayFormatFlags) -> Buffer
[src]
Trait Implementations
impl AsRef<VideoOverlayRectangleRef> for VideoOverlayRectangle
fn as_ref(&self) -> &VideoOverlayRectangleRef
impl Borrow<VideoOverlayRectangleRef> for VideoOverlayRectangle
fn borrow(&self) -> &VideoOverlayRectangleRef
impl Debug for VideoOverlayRectangleRef
[src]
impl MiniObject for VideoOverlayRectangleRef
type GstType = GstVideoOverlayRectangle
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
fn copy(&self) -> GstRc<Self>
[src]
impl Send for VideoOverlayRectangleRef
impl StaticType for VideoOverlayRectangleRef
fn static_type() -> Type
impl Sync for VideoOverlayRectangleRef
impl ToOwned for VideoOverlayRectangleRef
type Owned = VideoOverlayRectangle
The resulting type after obtaining ownership.
fn to_owned(&self) -> VideoOverlayRectangle
fn clone_into(&self, target: &mut Self::Owned)
[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]
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<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, 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>,