Function libnotcurses_sys::ncpalette_get_rgb8 [−][src]
pub fn ncpalette_get_rgb8(
palette: &NcPalette,
index: NcPaletteIndex,
red: &mut NcComponent,
green: &mut NcComponent,
blue: &mut NcComponent
) -> NcChannel
Expand description
Extracts the RGB NcComponent
s from an NcChannel
entry inside
an NcPalette
, and returns the NcChannel
.
Method: NcPalette.get_rgb(). Method: NcPalette.get_rgb8().