pub fn nccell_set_bg_palindex(
    cell: &mut NcCell,
    index: impl Into<NcPaletteIndex>
)
Expand description

Sets an NcCell’s background NcPaletteIndex.

Also sets NcChannels_u64::BG_PALETTE and NCALPHA_OPAQUE, and clears out NcChannels_u64::BG_DEFAULT_MASK.

Note: Unlike the original C function, this one can’t fail.

Method: NcCell.set_bg_palindex().