Skip to main content

routes_under

Function routes_under 

Source
pub fn routes_under(
    parts: &[&'static [Field]],
) -> Vec<(FieldRoute, &'static Field)>
Expand description

Every route under an explicit set of schema parts.

A schema that reached itself would enumerate forever, so a part already on the current path is not descended into again. Nothing in the fourteen views does that today; the guard is here because a walk that hangs reports nothing at all, which is the failure that looks like no failure.