pub fn routes_in<T: HasSchema>() -> Vec<(FieldRoute, &'static Field)>Expand description
Every route a view declares, with the field each one names.
The other direction from FieldRoute::field_in: that one checks a route
somebody wrote, this one produces the set. A tree wanting to label its
nodes with what the schema says about them, or a lint pass wanting to visit
every modelled field, reads this rather than growing its own walk.
Depth-first in declaration order, so two runs agree and a diff between two views lines up.