pub struct ScoreResult {
pub score: f64,
pub confidence: f64,
}Expand description
A signed score in (-1, +1) and its magnitude. confidence == score.abs().
Fields§
§score: f64Signed score: positive → capable, negative → efficient.
confidence: f64Decision certainty, score.abs().
Trait Implementations§
Source§impl Clone for ScoreResult
impl Clone for ScoreResult
Source§fn clone(&self) -> ScoreResult
fn clone(&self) -> ScoreResult
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 ScoreResult
impl Debug for ScoreResult
Source§impl PartialEq for ScoreResult
impl PartialEq for ScoreResult
impl Copy for ScoreResult
impl StructuralPartialEq for ScoreResult
Auto Trait Implementations§
impl Freeze for ScoreResult
impl RefUnwindSafe for ScoreResult
impl Send for ScoreResult
impl Sync for ScoreResult
impl Unpin for ScoreResult
impl UnsafeUnpin for ScoreResult
impl UnwindSafe for ScoreResult
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