pub struct SpatialQuery {
pub left: f32,
pub top: f32,
pub right: f32,
pub bottom: f32,
pub source_id: Option<SourceId>,
pub during: Option<(MediaTime, MediaTime)>,
pub min_confidence: Option<f32>,
pub require_subject: bool,
pub page: Page,
}Expand description
Axis-aligned region query over effective track samples.
Fields§
§left: f32Region left.
top: f32Region top.
right: f32Region right.
bottom: f32Region bottom.
source_id: Option<SourceId>Optional source filter.
during: Option<(MediaTime, MediaTime)>Optional time window.
min_confidence: Option<f32>Minimum sample confidence.
require_subject: boolWhen true, only labeled subjects are returned.
page: PagePagination.
Implementations§
Source§impl SpatialQuery
impl SpatialQuery
Trait Implementations§
Source§impl Clone for SpatialQuery
impl Clone for SpatialQuery
impl Copy for SpatialQuery
Source§impl Debug for SpatialQuery
impl Debug for SpatialQuery
Source§impl PartialEq for SpatialQuery
impl PartialEq for SpatialQuery
impl StructuralPartialEq for SpatialQuery
Auto Trait Implementations§
impl Freeze for SpatialQuery
impl RefUnwindSafe for SpatialQuery
impl Send for SpatialQuery
impl Sync for SpatialQuery
impl Unpin for SpatialQuery
impl UnsafeUnpin for SpatialQuery
impl UnwindSafe for SpatialQuery
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