pub struct FastaIndexEntry {
pub name: String,
pub length: usize,
pub offset: u64,
pub line_bases: usize,
pub line_width: usize,
}Expand description
A single entry in a FASTA index (.fai file).
Fields§
§name: StringSequence name.
length: usizeTotal length of the sequence in bases.
offset: u64Byte offset of the first base in the FASTA file.
line_bases: usizeNumber of bases per line.
line_width: usizeNumber of bytes per line (including newline).
Trait Implementations§
Source§impl Clone for FastaIndexEntry
impl Clone for FastaIndexEntry
Source§fn clone(&self) -> FastaIndexEntry
fn clone(&self) -> FastaIndexEntry
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 moreAuto Trait Implementations§
impl Freeze for FastaIndexEntry
impl RefUnwindSafe for FastaIndexEntry
impl Send for FastaIndexEntry
impl Sync for FastaIndexEntry
impl Unpin for FastaIndexEntry
impl UnsafeUnpin for FastaIndexEntry
impl UnwindSafe for FastaIndexEntry
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