pub enum GeomPiece {
Barcode(GeomLen),
Umi(GeomLen),
Discard(GeomLen),
ReadSeq(GeomLen),
Fixed(NucStr),
}
Expand description
The pieces of geometry (types) we currently support.
Variants§
Barcode(GeomLen)
A cellular barcode
Umi(GeomLen)
A unique molecular identifier
Discard(GeomLen)
Sequence that will be discarded
ReadSeq(GeomLen)
Biological read sequence
Fixed(NucStr)
A fixed sequence anchor / motif
Implementations§
Source§impl GeomPiece
impl GeomPiece
Sourcepub fn is_fixed_len(&self) -> bool
pub fn is_fixed_len(&self) -> bool
This method returns true if the current GeomPiece has a fixed length (either FixedLen or a Fixed(NucStr)), and false otherwise.
Sourcepub fn is_bounded(&self) -> bool
pub fn is_bounded(&self) -> bool
This method returns true if the current GeomPiece has a bounded length (either Bounded, BoundedRange, or a Fixed(NucStr)), and false otherwise.
Sourcepub fn is_complex(&self) -> bool
pub fn is_complex(&self) -> bool
This method returns true if the current GeomPiece is “complex” (either BoundedRange, or a Fixed(NucStr)), and false otherwise.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GeomPiece
impl RefUnwindSafe for GeomPiece
impl Send for GeomPiece
impl Sync for GeomPiece
impl Unpin for GeomPiece
impl UnwindSafe for GeomPiece
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