#[non_exhaustive]#[repr(u8)]pub enum SegmentType {
Template = 84,
SampleBarcode = 66,
MolecularBarcode = 77,
Skip = 83,
CellularBarcode = 67,
}
Expand description
The SegmentType
type. See the module level documentation for more.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Template = 84
Template: the bases in the segment are reads of template (e.g. genomic dna, rna, etc.)
SampleBarcode = 66
Sample Barcode: the bases in the segment are an index sequence used to identify the sample being sequenced
MolecularBarcode = 77
Molecular Barcode: the bases in the segment are an index sequence used to identify the unique source molecule being sequence (i.e. a UMI)
Skip = 83
Skip: the bases in the segment should be skipped or ignored, for example if they are monotemplate sequence generated by the library preparation
CellularBarcode = 67
Implementations§
Trait Implementations§
Source§impl Clone for SegmentType
impl Clone for SegmentType
Source§fn clone(&self) -> SegmentType
fn clone(&self) -> SegmentType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SegmentType
impl Debug for SegmentType
Source§impl Hash for SegmentType
impl Hash for SegmentType
Source§impl IntoEnumIterator for SegmentType
impl IntoEnumIterator for SegmentType
type Iterator = SegmentTypeIter
fn iter() -> SegmentTypeIter ⓘ
Source§impl Ord for SegmentType
impl Ord for SegmentType
Source§fn cmp(&self, other: &SegmentType) -> Ordering
fn cmp(&self, other: &SegmentType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SegmentType
impl PartialEq for SegmentType
Source§impl PartialOrd for SegmentType
impl PartialOrd for SegmentType
Source§impl TryFrom<char> for SegmentType
impl TryFrom<char> for SegmentType
Source§impl TryFrom<u8> for SegmentType
impl TryFrom<u8> for SegmentType
impl Copy for SegmentType
impl Eq for SegmentType
impl StructuralPartialEq for SegmentType
Auto Trait Implementations§
impl Freeze for SegmentType
impl RefUnwindSafe for SegmentType
impl Send for SegmentType
impl Sync for SegmentType
impl Unpin for SegmentType
impl UnwindSafe for SegmentType
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