Function libnotcurses_sys::ffi::nccell_load [−][src]
pub unsafe extern "C" fn nccell_load(
n: *mut ncplane,
c: *mut nccell,
gcluster: *const c_char
) -> c_int
Expand description
Breaks the UTF-8 string in ‘gcluster’ down, setting up the nccell ‘c’. Returns the number of bytes copied out of ‘gcluster’, or -1 on failure. The styling of the cell is left untouched, but any resources are released.