ShallowClone
trait with Clone
as a subtrait? ShallowClone
would be almost like a marker trait and it would provide the method shallow_clone
which may call clone
by default. If people see that both ShallowClone
and Clone
is implemented for a type, then they can infer that the type is cheaply cloneable
#232
Originally posted by @uncomputable in #231 (comment)
The text was updated successfully, but these errors were encountered: