pub struct AlignmentStats {
pub total: usize,
pub exact: usize,
pub fuzzy: usize,
pub lesser: usize,
pub greater: usize,
pub unaligned: usize,
}
Expand description
Statistics about alignment results
Fields§
§total: usize
§exact: usize
§fuzzy: usize
§lesser: usize
§greater: usize
§unaligned: usize
Implementations§
Source§impl AlignmentStats
impl AlignmentStats
Sourcepub fn success_rate(&self) -> f32
pub fn success_rate(&self) -> f32
Get the alignment success rate (0.0 to 1.0)
Sourcepub fn exact_match_rate(&self) -> f32
pub fn exact_match_rate(&self) -> f32
Get the exact match rate (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for AlignmentStats
impl Clone for AlignmentStats
Source§fn clone(&self) -> AlignmentStats
fn clone(&self) -> AlignmentStats
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 moreAuto Trait Implementations§
impl Freeze for AlignmentStats
impl RefUnwindSafe for AlignmentStats
impl Send for AlignmentStats
impl Sync for AlignmentStats
impl Unpin for AlignmentStats
impl UnwindSafe for AlignmentStats
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