pub fn mounted_resources(cx: &Cx) -> Vec<MountedResource<'_>>Expand description
Each resource the request’s panel mounts, in no particular order; none outside every panel.
/// The slugs whose list `cx` may open.
fn listable(cx: &Cx) -> Vec<&str> {
mounted_resources(cx)
.into_iter()
.filter(|resource| resource.can_list(cx))
.map(|resource| resource.slug())
.collect()
}