macro_rules! scope {
($scope:ident) => { ... };
}Expand description
Create a new Scoped<'_> with the given name
without using a closure
pui_core::scope!(scope);Two calls to scope will never return the same type
(the difference is in the lifetimes)
ⓘ
pui_core::scope!(a);
pui_core::scope!(b);
assert_eq!(a, b);pui_core::scope!(a);
assert_eq!(a, a);