pub fn ncchannels_set_fg_palindex(
    channels: &mut NcChannels_u64,
    index: impl Into<NcPaletteIndex>
)
Expand description

Sets the foreground of an NcChannels_u64 as using an indexed NcPalette color.

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

Method: NcChannels.set_fg_palindex()