INNER CODE UNIT · Rust
find
google/best · src/bed.rs:72
pub fn find(&self, chrom: &str, start: usize, end: usize) -> Vec<&FeatureInterval> {
self.intervals
.get(chrom)
.map(|x| x.find(start, end).collect())
.unwrap_or_else(|| Vec::new())
}
}