pub struct AnnotationConfidence(/* private fields */);Expand description
Confidence score normalized into the inclusive range 0.0..=1.0.
Implementations§
Trait Implementations§
Source§impl Clone for AnnotationConfidence
impl Clone for AnnotationConfidence
Source§fn clone(&self) -> AnnotationConfidence
fn clone(&self) -> AnnotationConfidence
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 moreimpl Copy for AnnotationConfidence
Source§impl Debug for AnnotationConfidence
impl Debug for AnnotationConfidence
Source§impl Default for AnnotationConfidence
impl Default for AnnotationConfidence
Source§impl<'de> Deserialize<'de> for AnnotationConfidence
impl<'de> Deserialize<'de> for AnnotationConfidence
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
Source§impl From<f32> for AnnotationConfidence
impl From<f32> for AnnotationConfidence
Source§impl PartialEq for AnnotationConfidence
impl PartialEq for AnnotationConfidence
Source§fn eq(&self, other: &AnnotationConfidence) -> bool
fn eq(&self, other: &AnnotationConfidence) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AnnotationConfidence
impl Serialize for AnnotationConfidence
impl StructuralPartialEq for AnnotationConfidence
Auto Trait Implementations§
impl Freeze for AnnotationConfidence
impl RefUnwindSafe for AnnotationConfidence
impl Send for AnnotationConfidence
impl Sync for AnnotationConfidence
impl Unpin for AnnotationConfidence
impl UnsafeUnpin for AnnotationConfidence
impl UnwindSafe for AnnotationConfidence
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