src/bisection_tree/btfn.rs

branch
dev
changeset 166
20fa28637737
parent 164
fd9dba51afd3
child 171
fa8df5a14486
--- a/src/bisection_tree/btfn.rs	Wed Sep 03 12:55:27 2025 -0500
+++ b/src/bisection_tree/btfn.rs	Wed Sep 03 13:15:32 2025 -0500
@@ -58,6 +58,13 @@
     {
         MyCow::Owned(self)
     }
+
+    fn ref_cow_owned<'b>(&'b self) -> MyCow<'b, Self::OwnedVariant>
+    where
+        Self: 'b,
+    {
+        MyCow::Borrowed(self)
+    }
 }
 
 impl<F: Float, G, BT, const N: usize> Space for BTFN<F, G, BT, N>

mercurial