pub struct BarcodeMatch {
pub best_match: usize,
pub best_mismatches: u8,
pub next_best_mismatches: u8,
}Expand description
The struct that contains the info related to the best and next best sample barcode match.
Fields§
§best_match: usizeIndex of the best bardcode match in the corresponding BarcodeMatcher struct that generated this match.
best_mismatches: u8The number of mismatches to the best matching barcode for the read described by this match.
next_best_mismatches: u8The number of mismatches to the second best matching barcode for the read described by this match
Trait Implementations§
Source§impl Clone for BarcodeMatch
impl Clone for BarcodeMatch
Source§fn clone(&self) -> BarcodeMatch
fn clone(&self) -> BarcodeMatch
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 BarcodeMatch
impl Debug for BarcodeMatch
Source§impl PartialEq for BarcodeMatch
impl PartialEq for BarcodeMatch
impl Copy for BarcodeMatch
impl Eq for BarcodeMatch
impl StructuralPartialEq for BarcodeMatch
Auto Trait Implementations§
impl Freeze for BarcodeMatch
impl RefUnwindSafe for BarcodeMatch
impl Send for BarcodeMatch
impl Sync for BarcodeMatch
impl Unpin for BarcodeMatch
impl UnwindSafe for BarcodeMatch
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