[−][src]Struct gstreamer_video::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]
ptr: *mut GstVideoOverlayRectangle
) -> &'a mut Self
pub fn copy(&self) -> VideoOverlayRectangle
[src]
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
[src]
fn as_ref(&self) -> &VideoOverlayRectangleRef
[src]
impl Borrow<VideoOverlayRectangleRef> for VideoOverlayRectangle
[src]
fn borrow(&self) -> &VideoOverlayRectangleRef
[src]
impl Debug for VideoOverlayRectangleRef
[src]
impl<'a> FromValueOptional<'a> for &'a VideoOverlayRectangleRef
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
impl GlibPtrDefault for VideoOverlayRectangleRef
[src]
impl Send for VideoOverlayRectangleRef
[src]
impl StaticType for VideoOverlayRectangleRef
[src]
fn static_type() -> Type
[src]
impl Sync for VideoOverlayRectangleRef
[src]
impl ToOwned for VideoOverlayRectangleRef
[src]
type Owned = VideoOverlayRectangle
The resulting type after obtaining ownership.
fn to_owned(&self) -> VideoOverlayRectangle
[src]
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>,