Skip to main content

RegionProcessor

Trait RegionProcessor 

Source
pub trait RegionProcessor {
    type P: 'static + Send + Sync + Serialize;

    // Required method
    fn process_region(&self, tid: u32, start: u32, stop: u32) -> Vec<Self::P>;
}
Expand description

Trait defining how genomic regions are processed.

Required Associated Types§

Source

type P: 'static + Send + Sync + Serialize

The type returned when processing a region.

Required Methods§

Source

fn process_region(&self, tid: u32, start: u32, stop: u32) -> Vec<Self::P>

Process a genomic region defined by tid, start, and stop (0-based, half-open).

Implementors§