pub struct CorrectionStats {
pub overlapping_bases: usize,
pub bases_agreeing: usize,
pub bases_disagreeing: usize,
pub bases_corrected: usize,
}Expand description
Statistics tracking corrections made during overlapping consensus
Fields§
§overlapping_bases: usizeTotal number of overlapping base pairs examined
bases_agreeing: usizeNumber of overlapping bases that agreed
bases_disagreeing: usizeNumber of overlapping bases that disagreed
bases_corrected: usizeNumber of bases corrected (modified)
Implementations§
Source§impl CorrectionStats
impl CorrectionStats
Sourcepub fn new() -> CorrectionStats
pub fn new() -> CorrectionStats
Create a new empty statistics tracker
Sourcepub fn merge(&mut self, other: &CorrectionStats)
pub fn merge(&mut self, other: &CorrectionStats)
Merge statistics from another CorrectionStats instance
Trait Implementations§
Source§impl Clone for CorrectionStats
impl Clone for CorrectionStats
Source§fn clone(&self) -> CorrectionStats
fn clone(&self) -> CorrectionStats
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 CorrectionStats
impl Debug for CorrectionStats
Source§impl Default for CorrectionStats
impl Default for CorrectionStats
Source§fn default() -> CorrectionStats
fn default() -> CorrectionStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CorrectionStats
impl RefUnwindSafe for CorrectionStats
impl Send for CorrectionStats
impl Sync for CorrectionStats
impl Unpin for CorrectionStats
impl UnsafeUnpin for CorrectionStats
impl UnwindSafe for CorrectionStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more