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
Different methods to clone a object like deep_clone, copy and clone have existed in the standard library. However, without Clone trait, we can't really implement a "deep_clone" method. I think we need a unified trait to clone various objects (like Rust's Clone).
The text was updated successfully, but these errors were encountered:
Different methods to clone a object like
deep_clone
,copy
andclone
have existed in the standard library. However, withoutClone
trait, we can't really implement a "deep_clone" method. I think we need a unified trait to clone various objects (like Rust'sClone
).The text was updated successfully, but these errors were encountered: