(&mut self, color: f_pixel, popularity: PalPop)
| 235 | |
| 236 | #[inline(always)] |
| 237 | pub fn push(&mut self, color: f_pixel, popularity: PalPop) { |
| 238 | self.pops.push(popularity); |
| 239 | self.colors.push(color); |
| 240 | } |
| 241 | |
| 242 | pub fn set(&mut self, idx: usize, color: f_pixel, popularity: PalPop) { |
| 243 | debug_assert!(idx < self.colors.len() && idx < self.pops.len()); |
no outgoing calls