MCPcopy Create free account
hub / github.com/ImageOptim/libimagequant / len

Method len

src/pal.rs:296–299  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

294
295 #[inline(always)]
296 pub(crate) fn len(&self) -> usize {
297 debug_assert_eq!(self.colors.len(), self.pops.len());
298 self.colors.len()
299 }
300
301 #[inline(always)]
302 pub fn iter_mut(&mut self) -> impl Iterator<Item = (&mut f_pixel, &mut PalPop)> {

Callers 15

liq_image_create_customFunction · 0.45
median_colorMethod · 0.45
qsort_pivotFunction · 0.45
qsort_partitionFunction · 0.45
hist_item_sort_halfFunction · 0.45
into_paletteMethod · 0.45
cutMethod · 0.45
add_colorsMethod · 0.45
add_fixed_colorMethod · 0.45
reserveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected