pub enum SequenceReadPairOrientation {
F1R2,
F2R1,
R1F2,
R2F1,
F1F2,
R1R2,
F2F1,
R2R1,
None,
}
Expand description
Representation of sequence read pair orientation (e.g. F1R2 means that the forward read comes first on the reference contig, followed by the reverse read, on the same contig).
This enum can be pretty-printed into a readable string repesentation:
use bio_types::sequence::SequenceReadPairOrientation;
// format into string
println!("{}", SequenceReadPairOrientation::F1R2);
// obtain string via `AsRef<&'static str>`
assert_eq!(SequenceReadPairOrientation::R1F2.as_ref(), "R1F2");
Variants§
Trait Implementations§
source§impl AsRef<str> for SequenceReadPairOrientation
impl AsRef<str> for SequenceReadPairOrientation
source§impl Clone for SequenceReadPairOrientation
impl Clone for SequenceReadPairOrientation
source§fn clone(&self) -> SequenceReadPairOrientation
fn clone(&self) -> SequenceReadPairOrientation
Returns a copy 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 SequenceReadPairOrientation
impl Debug for SequenceReadPairOrientation
impl Copy for SequenceReadPairOrientation
impl Eq for SequenceReadPairOrientation
impl StructuralPartialEq for SequenceReadPairOrientation
Auto Trait Implementations§
impl Freeze for SequenceReadPairOrientation
impl RefUnwindSafe for SequenceReadPairOrientation
impl Send for SequenceReadPairOrientation
impl Sync for SequenceReadPairOrientation
impl Unpin for SequenceReadPairOrientation
impl UnwindSafe for SequenceReadPairOrientation
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)