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

Method free_histogram_inputs

src/rows.rs:242–249  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

240 }
241
242 pub fn free_histogram_inputs(&mut self) {
243 if self.f_pixels.is_some() {
244 self.pixels = PixelsSource::Pixels {
245 rows: SeaCow::borrowed(&[]),
246 pixels: None,
247 };
248 }
249 }
250
251 #[inline(always)]
252 #[must_use]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected