pub struct ClassifierChoice<'a> { /* private fields */ }Expand description
A symbol choice.
Implementations§
Source§impl ClassifierChoice<'_>
impl ClassifierChoice<'_>
Sourcepub fn get_utf8_text(&self) -> &str
pub fn get_utf8_text(&self) -> &str
Returns the choice as UTF-8 string.
Sourcepub fn confidence(&self) -> f32
pub fn confidence(&self) -> f32
Returns the confidence in the range of [0; 100].
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ClassifierChoice<'a>
impl<'a> RefUnwindSafe for ClassifierChoice<'a>
impl<'a> !Send for ClassifierChoice<'a>
impl<'a> !Sync for ClassifierChoice<'a>
impl<'a> Unpin for ClassifierChoice<'a>
impl<'a> UnsafeUnpin for ClassifierChoice<'a>
impl<'a> UnwindSafe for ClassifierChoice<'a>
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