fast image operations
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index bbc83c4..6ce1813 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -485,7 +485,9 @@ impl<T, const CHANNELS: usize> Image<T, CHANNELS> {
#[inline]
/// Returns a iterator over every pixel
- pub fn chunked<'a, U: 'a>(&'a self) -> impl DoubleEndedIterator<Item = &'a [U; CHANNELS]>
+ pub fn chunked<'a, U: 'a>(
+ &'a self,
+ ) -> impl DoubleEndedIterator<Item = &'a [U; CHANNELS]> + ExactSizeIterator
where
T: AsRef<[U]>,
{