Function libnotcurses_sys::ncpalette_set_rgb8[][src]

pub fn ncpalette_set_rgb8(
    palette: &mut NcPalette,
    index: NcPaletteIndex,
    red: NcComponent,
    green: NcComponent,
    blue: NcComponent
)
Expand description

Sets the RGB NcComponents of the NcChannel entry inside an NcPalette.

Method: NcPalette.set_rgb().