Trait bio_types::genome::AbstractInterval
source · pub trait AbstractInterval {
// Required methods
fn contig(&self) -> &str;
fn range(&self) -> Range<Position>;
// Provided method
fn contains<L>(&self, locus: L) -> bool
where L: AbstractLocus { ... }
}
Required Methods§
Provided Methods§
sourcefn contains<L>(&self, locus: L) -> boolwhere
L: AbstractLocus,
fn contains<L>(&self, locus: L) -> boolwhere
L: AbstractLocus,
Return true if interval contains given locus.
Object Safety§
This trait is not object safe.