Function sycamore::reactive::scope_depth
source · [−]pub fn scope_depth(cx: BoundedScope<'_, '_>) -> u32
Expand description
Returns the current depth of the scope. If the scope is the root scope, returns 0
.
pub fn scope_depth(cx: BoundedScope<'_, '_>) -> u32
Returns the current depth of the scope. If the scope is the root scope, returns 0
.