Skip to main content

render_introspection_with

Function render_introspection_with 

Source
pub fn render_introspection_with(
    item: &dyn Introspectable,
    resolve_plugin: &dyn Fn(u32) -> Option<String>,
) -> RenderedIntrospection
Expand description

render_introspection, with a plugin-name resolver.

Every :describe-* view goes through here, so resolving at THIS point names plugins on all of them at once — rather than each registration path having to stamp a name it may not hold. :list-commands already resolved ids this way; this brings the describe views into line.