pub struct FastaPartition {
pub partition_index: usize,
pub name: Vec<u8>,
pub core: Range<u64>,
pub fetch: Range<u64>,
}Expand description
One planned reference partition over indexed FASTA sequence coordinates.
Fields§
§partition_index: usizeZero-based partition index in output order.
name: Vec<u8>Reference name from the FASTA index.
core: Range<u64>Core half-open sequence range assigned to this partition.
fetch: Range<u64>Half-open sequence range to fetch, expanded by overlap and clamped to the reference bounds.
Implementations§
Trait Implementations§
Source§impl Clone for FastaPartition
impl Clone for FastaPartition
Source§fn clone(&self) -> FastaPartition
fn clone(&self) -> FastaPartition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FastaPartition
impl Debug for FastaPartition
impl Eq for FastaPartition
Source§impl PartialEq for FastaPartition
impl PartialEq for FastaPartition
Source§fn eq(&self, other: &FastaPartition) -> bool
fn eq(&self, other: &FastaPartition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FastaPartition
Auto Trait Implementations§
impl Freeze for FastaPartition
impl RefUnwindSafe for FastaPartition
impl Send for FastaPartition
impl Sync for FastaPartition
impl Unpin for FastaPartition
impl UnsafeUnpin for FastaPartition
impl UnwindSafe for FastaPartition
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