nccell_prime

Function nccell_prime 

Source
pub fn nccell_prime(
    plane: &mut NcPlane,
    cell: &mut NcCell,
    gcluster: &str,
    style: impl Into<NcStyle_u16>,
    channels: impl Into<NcChannels_u64>,
) -> NcResult_i32
Expand description

Same as nccell_load, plus blasts the styling with style and channels.

  • Breaks the UTF-8 string in gcluster down, setting up the cell cell.
  • 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.
  • Blasts the styling with style and channels.

Method: NcCell.prime().