Skip to main content

ui_buffer_take

Function ui_buffer_take 

Source
pub fn ui_buffer_take(buffer: &mut String) -> Option<String>
Expand description

Takes ownership of a canonical UI buffer and leaves it empty.

§Parameters

§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 []);