pub struct SemanticEntity {
pub id: EntityId,
pub centroid: Option<Vec3<f32>>,
pub labels: Vec<OpenVocabLabel>,
pub embedding: Option<Embedding>,
}Expand description
One semantic spatial entity with optional embedding.
Fields§
§id: EntityIdEntity id.
centroid: Option<Vec3<f32>>Optional centroid.
labels: Vec<OpenVocabLabel>Open-vocabulary labels.
embedding: Option<Embedding>Optional embedding for search/fusion.
Trait Implementations§
Source§impl Clone for SemanticEntity
impl Clone for SemanticEntity
Source§fn clone(&self) -> SemanticEntity
fn clone(&self) -> SemanticEntity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SemanticEntity
impl Debug for SemanticEntity
Source§impl PartialEq for SemanticEntity
impl PartialEq for SemanticEntity
Source§fn eq(&self, other: &SemanticEntity) -> bool
fn eq(&self, other: &SemanticEntity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SemanticEntity
Auto Trait Implementations§
impl Freeze for SemanticEntity
impl RefUnwindSafe for SemanticEntity
impl Send for SemanticEntity
impl Sync for SemanticEntity
impl Unpin for SemanticEntity
impl UnsafeUnpin for SemanticEntity
impl UnwindSafe for SemanticEntity
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