pub struct VideoRegionOfInterestMeta(/* private fields */);
Implementations§
source§impl VideoRegionOfInterestMeta
impl VideoRegionOfInterestMeta
pub fn add<'a>( buffer: &'a mut BufferRef, roi_type: &str, rect: (u32, u32, u32, u32), ) -> MetaRefMut<'a, Self, Standalone>
pub fn rect(&self) -> (u32, u32, u32, u32)
pub fn id(&self) -> i32
pub fn parent_id(&self) -> i32
pub fn roi_type<'a>(&self) -> &'a str
pub fn params(&self) -> ParamsIter<'_> ⓘ
pub fn param<'b>(&'b self, name: &str) -> Option<&'b StructureRef>
pub fn set_rect(&mut self, rect: (u32, u32, u32, u32))
pub fn set_id(&mut self, id: i32)
pub fn set_parent_id(&mut self, id: i32)
pub fn add_param(&mut self, s: Structure)
Trait Implementations§
source§impl Debug for VideoRegionOfInterestMeta
impl Debug for VideoRegionOfInterestMeta
source§impl MetaAPI for VideoRegionOfInterestMeta
impl MetaAPI for VideoRegionOfInterestMeta
impl Send for VideoRegionOfInterestMeta
impl Sync for VideoRegionOfInterestMeta
Auto Trait Implementations§
impl Freeze for VideoRegionOfInterestMeta
impl RefUnwindSafe for VideoRegionOfInterestMeta
impl Unpin for VideoRegionOfInterestMeta
impl UnwindSafe for VideoRegionOfInterestMeta
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more