You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure about going from DataOwned to Data. I guess there are many alternatives for how it could work. I was first thinking of - unsure if we can realize it - a conversion of owned arrays only, which would move if needed otherwise clone.
Okay, yeah, leaving it on DataOwned would be fine. We'd still add an A: Clone bound, and drop the "without any copying" guarantee. OwnedRepr, OwnedArcRepr, and the Owned variant of CowRepr would implement this without copying, but the View variant of CowRepr would copy.
Move
into_shared
fromDataOwned
toData
, add anA: Clone
bound, and drop the "without any copying" guarantee. (See the discussion in Implement From<Array<A, D>> for ArcArray<A, D> #1021.)Implement
From
for more combinations of array types.The text was updated successfully, but these errors were encountered: