Skip to main content

Module composer_context

Module composer_context 

Source

Structs§

ComposerScopeGuard
Restores the previous composer when its scope ends.

Functions§

current_composer
Return the current thread’s composer.
enter
Sets the current thread’s composer for the duration of the scope. Returns a guard that restores the previous composer on drop.
note_nested_slots_host
try_with_composer
Try to access the current thread’s composer. Returns None if there is no active composer.
with_composer
Access the current thread’s composer.