Skip to main content

render_scope

Function render_scope 

Source
pub fn render_scope<K: Into<String>>(
    scope: impl IntoIterator<Item = (K, PrettyValue)>,
    options: &ScopeOptions,
) -> Panel
Expand description

Render variables in a scope: each name, =, and its pretty repr, in a panel. Port of rich.scope.render_scope.