Skip to main content

ui_buffer_append_n

Function ui_buffer_append_n 

Source
pub fn ui_buffer_append_n(
    buffer: &mut String,
    text: &str,
    length: usize,
) -> bool
Expand description

Appends a bounded slice to a canonical UI buffer.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::ui::ui_buffer_append_n holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::ui::ui_buffer_append_n(&mut [], "{}", todo!());