pub struct FastaPartitionConfig {
pub target_partitions: usize,
pub overlap_bases: u64,
}Expand description
Configuration for planning balanced indexed-FASTA reference partitions.
Fields§
§target_partitions: usizeTarget number of partitions to produce.
Values below 1 are raised to 1. Empty references are skipped.
overlap_bases: u64Number of neighboring bases each partition should include in its fetch range on both sides of the core range.
For k-mer or minimizer ingest, callers typically use the maximum lookaround needed by their k/window shape.
Implementations§
Trait Implementations§
Source§impl Clone for FastaPartitionConfig
impl Clone for FastaPartitionConfig
Source§fn clone(&self) -> FastaPartitionConfig
fn clone(&self) -> FastaPartitionConfig
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 moreimpl Copy for FastaPartitionConfig
Source§impl Debug for FastaPartitionConfig
impl Debug for FastaPartitionConfig
impl Eq for FastaPartitionConfig
Source§impl PartialEq for FastaPartitionConfig
impl PartialEq for FastaPartitionConfig
Source§fn eq(&self, other: &FastaPartitionConfig) -> bool
fn eq(&self, other: &FastaPartitionConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FastaPartitionConfig
Auto Trait Implementations§
impl Freeze for FastaPartitionConfig
impl RefUnwindSafe for FastaPartitionConfig
impl Send for FastaPartitionConfig
impl Sync for FastaPartitionConfig
impl Unpin for FastaPartitionConfig
impl UnsafeUnpin for FastaPartitionConfig
impl UnwindSafe for FastaPartitionConfig
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