Struct gstreamer_video::VideoOverlayRectangleRef [−][src]
#[repr(transparent)]pub struct VideoOverlayRectangleRef(_);
Implementations
impl VideoOverlayRectangleRef
[src]
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]
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]
&mut self,
render_x: i32,
render_y: i32,
render_width: u32,
render_height: u32
)
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 Debug for VideoOverlayRectangleRef
[src]
impl Debug for VideoOverlayRectangleRef
[src]impl<'a> FromValue<'a> for &'a VideoOverlayRectangleRef
[src]
impl<'a> FromValue<'a> for &'a VideoOverlayRectangleRef
[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 StaticType for VideoOverlayRectangleRef
[src]
impl StaticType for VideoOverlayRectangleRef
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl ToOwned for VideoOverlayRectangleRef
[src]
impl ToOwned for VideoOverlayRectangleRef
[src]type Owned = VideoOverlayRectangle
type Owned = VideoOverlayRectangle
The resulting type after obtaining ownership.
fn to_owned(&self) -> VideoOverlayRectangle
[src]
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]
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