pub struct OpenVocabLabel {
pub text: String,
pub confidence: f32,
}Expand description
Open-vocabulary label with confidence.
Fields§
§text: StringFree-form text label.
confidence: f32Confidence in [0, 1].
Trait Implementations§
Source§impl Clone for OpenVocabLabel
impl Clone for OpenVocabLabel
Source§fn clone(&self) -> OpenVocabLabel
fn clone(&self) -> OpenVocabLabel
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 OpenVocabLabel
impl Debug for OpenVocabLabel
Source§impl PartialEq for OpenVocabLabel
impl PartialEq for OpenVocabLabel
Source§fn eq(&self, other: &OpenVocabLabel) -> bool
fn eq(&self, other: &OpenVocabLabel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenVocabLabel
Auto Trait Implementations§
impl Freeze for OpenVocabLabel
impl RefUnwindSafe for OpenVocabLabel
impl Send for OpenVocabLabel
impl Sync for OpenVocabLabel
impl Unpin for OpenVocabLabel
impl UnsafeUnpin for OpenVocabLabel
impl UnwindSafe for OpenVocabLabel
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