Skip to main content

with_tree

Function with_tree 

Source
pub fn with_tree<R>(f: impl FnOnce(&mut dyn TreeOps) -> R) -> R
Expand description

Access the installed tree. Tree methods never run user code, so nesting cannot occur while a borrow is held; if events were queued during the call, they are pumped after the borrow is released (the “safe point” of §3.3).

Day API ↩ Guides· daybrite.dev