pub struct SceneObject {
pub category: String,
pub bounds: (f32, f32, f32, f32),
pub confidence: f32,
pub moving: bool,
}Expand description
Scene object (simplified representation)
Fields§
§category: StringObject type/category
bounds: (f32, f32, f32, f32)Bounding box (normalized 0-1): x, y, width, height
confidence: f32Confidence
moving: boolIs this object moving?
Implementations§
Trait Implementations§
Source§impl Clone for SceneObject
impl Clone for SceneObject
Source§fn clone(&self) -> SceneObject
fn clone(&self) -> SceneObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SceneObject
impl RefUnwindSafe for SceneObject
impl Send for SceneObject
impl Sync for SceneObject
impl Unpin for SceneObject
impl UnsafeUnpin for SceneObject
impl UnwindSafe for SceneObject
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