Trait jlabel_question::position::Position
source · pub trait Position {
type Target;
type Range;
// Required methods
fn range(&self, ranges: &[&str]) -> Result<Self::Range, ParseError>;
fn get<'a>(&self, label: &'a Label) -> Option<&'a Self::Target>;
fn test(&self, range: &Self::Range, target: &Self::Target) -> bool;
}
Expand description
The trait that Position requires to implement