| 46 |
46 |
| 47 fn cow_owned<'b>(self) -> MyCow<'b, Self::OwnedVariant> |
47 fn cow_owned<'b>(self) -> MyCow<'b, Self::OwnedVariant> |
| 48 where |
48 where |
| 49 Self: 'b, |
49 Self: 'b, |
| 50 { |
50 { |
| 51 todo!() |
51 MyCow::Owned(self.into_owned()) |
| 52 //MyCow::owned(self.into_owned()) |
52 } |
| |
53 |
| |
54 fn ref_cow_owned<'b>(&'b self) -> MyCow<'b, Self::OwnedVariant> |
| |
55 where |
| |
56 Self: 'b, |
| |
57 { |
| |
58 MyCow::Owned(self.clone_owned()) |
| 53 } |
59 } |
| 54 } |
60 } |
| 55 |
61 |
| 56 trait StridesOk<E, N, M = U1, S = <DefaultAllocator as Allocator<N, M>>::Buffer<E>>: |
62 trait StridesOk<E, N, M = U1, S = <DefaultAllocator as Allocator<N, M>>::Buffer<E>>: |
| 57 DimEq<Dyn, S::RStride> |
63 DimEq<Dyn, S::RStride> |