src/bisection_tree/btfn.rs

branch
dev
changeset 166
20fa28637737
parent 164
fd9dba51afd3
child 171
fa8df5a14486
equal deleted inserted replaced
165:478c23ce7cef 166:20fa28637737
55 fn cow_owned<'b>(self) -> MyCow<'b, Self::OwnedVariant> 55 fn cow_owned<'b>(self) -> MyCow<'b, Self::OwnedVariant>
56 where 56 where
57 Self: 'b, 57 Self: 'b,
58 { 58 {
59 MyCow::Owned(self) 59 MyCow::Owned(self)
60 }
61
62 fn ref_cow_owned<'b>(&'b self) -> MyCow<'b, Self::OwnedVariant>
63 where
64 Self: 'b,
65 {
66 MyCow::Borrowed(self)
60 } 67 }
61 } 68 }
62 69
63 impl<F: Float, G, BT, const N: usize> Space for BTFN<F, G, BT, N> 70 impl<F: Float, G, BT, const N: usize> Space for BTFN<F, G, BT, N>
64 where 71 where

mercurial