pub struct IndexedSequence { /* private fields */ }Expand description
Holds the sequence and its base-0 index in the original FASTA file.
Implementations§
Trait Implementations§
Source§impl Clone for IndexedSequence
impl Clone for IndexedSequence
Source§fn clone(&self) -> IndexedSequence
fn clone(&self) -> IndexedSequence
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 IndexedSequence
impl Debug for IndexedSequence
Source§impl FastxRecord for IndexedSequence
impl FastxRecord for IndexedSequence
Source§fn get_sequence(&self) -> &str
fn get_sequence(&self) -> &str
Returns the sequence string.
Source§fn subsequence(&self, start: usize, end: usize) -> IndexedSequence
fn subsequence(&self, start: usize, end: usize) -> IndexedSequence
Returns a new record containing the subsequence between
start (inclusive) and end (exclusive).Source§fn format_output(&self, name: &str) -> String
fn format_output(&self, name: &str) -> String
Returns the record formatted for writing to a file.
Auto Trait Implementations§
impl Freeze for IndexedSequence
impl RefUnwindSafe for IndexedSequence
impl Send for IndexedSequence
impl Sync for IndexedSequence
impl Unpin for IndexedSequence
impl UnsafeUnpin for IndexedSequence
impl UnwindSafe for IndexedSequence
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