nanalogue 0.1.9

BAM/Mod BAM parsing and analysis tool with a single-molecule focus
Documentation
1
2
3
4
5
6
7
8
//! Contains trait for testing if a value is within some interval
//! Used by various types to implement containment checking

/// Trait for testing whether a value is contained within an interval.
pub trait Contains<T> {
    /// Returns true if the value is contained within this interval.
    fn contains(&self, val: &T) -> bool;
}