std::clone

This is for use with types that cannot be implicitly copied.

More complex types (such as strings) are not implicitly copyable. These types have to be made explicitly copyable using the Clone trait and clonable using the clone method.

Structs, Traits, and EnumsTrait Clone.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset