Skip to main content

scope_allows

Function scope_allows 

pub fn scope_allows(
    scope: &Scope,
    provider_id: &str,
    active_provider_id: Option<&str>,
    narrows_to_active_app: bool,
) -> bool
Expand description

Whether a search of scope asks the provider provider_id: only a search of one app narrows, to that app’s own providers and the ones that keep to the app in front. Nothing focused widens it to every provider rather than emptying it.