pub struct FeatureAnalyzer { /* private fields */ }Expand description
The shipped features egress, expressed as a ColumnAnalyzer — proof the
trait carries the real production analyzer. Counts the rows it emits (folded
into the receipt via ColumnAnalyzer::params).
Implementations§
Trait Implementations§
Source§impl ColumnAnalyzer for FeatureAnalyzer
impl ColumnAnalyzer for FeatureAnalyzer
Source§fn header(&self) -> Option<String>
fn header(&self) -> Option<String>
Optional header written once, before any column (e.g. a TSV header line,
including its trailing newline). Default: none.
Source§fn params(&self) -> BTreeMap<String, String>
fn params(&self) -> BTreeMap<String, String>
Parameters to fold into the run receipt (provenance). Default: none.
Source§fn on_column(
&mut self,
col: &PileupColumn,
contig: &str,
out: &mut dyn Write,
) -> Result<()>
fn on_column( &mut self, col: &PileupColumn, contig: &str, out: &mut dyn Write, ) -> Result<()>
Process one callable pileup column, writing any output to
out. Called in
(contig, position) order; contig is the column’s contig name. Keep
per-call state O(1) (or bounded) to preserve the memory contract.Source§impl Debug for FeatureAnalyzer
impl Debug for FeatureAnalyzer
Source§impl Default for FeatureAnalyzer
impl Default for FeatureAnalyzer
Source§fn default() -> FeatureAnalyzer
fn default() -> FeatureAnalyzer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FeatureAnalyzer
impl RefUnwindSafe for FeatureAnalyzer
impl Send for FeatureAnalyzer
impl Sync for FeatureAnalyzer
impl Unpin for FeatureAnalyzer
impl UnsafeUnpin for FeatureAnalyzer
impl UnwindSafe for FeatureAnalyzer
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