From 73d6ba0ca1195d883c03092fd0446e2c5533b5b1 Mon Sep 17 00:00:00 2001 From: Remco Bloemen Date: Thu, 19 Nov 2020 09:35:43 -0800 Subject: [PATCH] Dummy implementation of DoubleEndedIterator --- src/base/iter.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/base/iter.rs b/src/base/iter.rs index 1f330d95..8a2a09ef 100644 --- a/src/base/iter.rs +++ b/src/base/iter.rs @@ -119,6 +119,15 @@ macro_rules! iterator { self.size } } + + impl<'a, N: Scalar, R: Dim, C: Dim, S: 'a + $Storage> DoubleEndedIterator + for $Name<'a, N, R, C, S> + { + #[inline] + fn next_back(&mut self) -> Option<$Ref> { + todo!() + } + } }; }