pub(crate) fn into_full<G: Html>(self, entities: &EntityMap<G>) -> FullRouteInfo<G> {
        let entity = entities.get(&self.entity_name).expect("conversion to full route info failed, given entities did not contain given entity name");
        FullRouteInfo {
            path: self.path,
            entity,
            was_incremental_match: self.was_incremental_match,
            locale: self.locale,
        }
    }
Converts this [`RouteInfo`] into a [`FullRouteInfo`].

# Panics
This will panic if the entity name held by `Self` is not in the given
map, which is only a concern if you `Self` didn't come from
`match_route`.
packages/perseus/src/router/route_verdict.rs