Trait transit_model::model::GetCorresponding
source · pub trait GetCorresponding<T: Sized> {
// Required method
fn get_corresponding(&self, model: &Model) -> IdxSet<T>;
}
Expand description
A trait that returns a set of objects corresponding to a given type.
Required Methods§
sourcefn get_corresponding(&self, model: &Model) -> IdxSet<T>
fn get_corresponding(&self, model: &Model) -> IdxSet<T>
For the given self, returns the set of
corresponding T
indices.