pub fn ui_buffer_take(buffer: &mut String) -> Option<String>Expand description
Takes ownership of a canonical UI buffer and leaves it empty.
§Parameters
buffer: Input consumed bycrate::runtime::ui::ui_buffer_take.
§Returns
Returns Some when crate::runtime::ui::ui_buffer_take can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::ui::ui_buffer_take(&mut []);§Related
crate::runtime::uifor adjacent helpers that share the same runtime surface.