1 2 3 4 5 6 7 8
use crate::records::location::Location; use crate::records::position::Position; impl Location { pub fn containsClosed(&self, p: Position) -> bool { self.begin <= p && p <= self.end } }