Function CSTL_u32string_assign_char

Source
pub unsafe extern "C" fn CSTL_u32string_assign_char(
    instance: CSTL_UTF32StringRef,
    count: usize,
    ch: char32_t,
    alloc: *mut CSTL_Alloc,
) -> bool
Expand description

Replaces the contents of instance with the count copies of the character ch.

If count is greater than CSTL_u32string_max_size() this function has no effect and returns false, otherwise it returns true.