pub struct SceneObject {
pub id: usize,
pub center: [f64; 3],
pub extent: [f64; 3],
pub confidence: f32,
pub label: String,
pub velocity: Option<[f64; 3]>,
}Expand description
An object detected in a scene with bounding information.
Fields§
§id: usize§center: [f64; 3]§extent: [f64; 3]§confidence: f32§label: String§velocity: Option<[f64; 3]>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 moreSource§impl Debug for SceneObject
impl Debug for SceneObject
Source§impl<'de> Deserialize<'de> for SceneObject
impl<'de> Deserialize<'de> for SceneObject
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto 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