Skip to main content

scope_auto

Macro scope_auto 

Source
macro_rules! scope_auto {
    ($s:expr, [$($input:expr),* $(,)?], $body:block) => { ... };
}
Expand description

scope! with an auto-namespaced key (module:file:line:col). Use for static call sites so two components cannot share one cache entry. For dynamic lists, pass a stable item id as part of $key instead.