pub struct SequenceErrors { /* private fields */ }Implementations§
Source§impl SequenceErrors
impl SequenceErrors
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new sequence error struct. Starts with 0 errors in all regions, then is added to later.
§Example
use barcode_count::info::SequenceErrors;
let mut sequence_errors = SequenceErrors::new();Sourcepub fn constant_region_error(&mut self)
pub fn constant_region_error(&mut self)
Add one to constant region error
§Example
use barcode_count::info::SequenceErrors;
let mut sequence_errors = SequenceErrors::new();
sequence_errors.constant_region_error();Sourcepub fn sample_barcode_error(&mut self)
pub fn sample_barcode_error(&mut self)
Add one to sample barcode error
§Example
use barcode_count::info::SequenceErrors;
let mut sequence_errors = SequenceErrors::new();
sequence_errors.sample_barcode_error();Sourcepub fn barcode_error(&mut self)
pub fn barcode_error(&mut self)
Add one to barcode error
§Example
use barcode_count::info::SequenceErrors;
let mut sequence_errors = SequenceErrors::new();
sequence_errors.barcode_error();Sourcepub fn correct_match(&mut self)
pub fn correct_match(&mut self)
Add one to correct match
§Example
use barcode_count::info::SequenceErrors;
let mut sequence_errors = SequenceErrors::new();
sequence_errors.correct_match();Sourcepub fn duplicated(&mut self)
pub fn duplicated(&mut self)
Add one to duplicates
§Example
use barcode_count::info::SequenceErrors;
let mut sequence_errors = SequenceErrors::new();
sequence_errors.duplicated();Sourcepub fn low_quality_barcode(&mut self)
pub fn low_quality_barcode(&mut self)
Add one to low_quality
§Example
use barcode_count::info::SequenceErrors;
let mut sequence_errors = SequenceErrors::new();
sequence_errors.low_quality_barcode();pub fn arc_clone(&self) -> SequenceErrors
Trait Implementations§
Source§impl Clone for SequenceErrors
impl Clone for SequenceErrors
Source§fn clone(&self) -> SequenceErrors
fn clone(&self) -> SequenceErrors
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 SequenceErrors
impl Debug for SequenceErrors
Source§impl Default for SequenceErrors
impl Default for SequenceErrors
Auto Trait Implementations§
impl Freeze for SequenceErrors
impl RefUnwindSafe for SequenceErrors
impl Send for SequenceErrors
impl Sync for SequenceErrors
impl Unpin for SequenceErrors
impl UnwindSafe for SequenceErrors
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