rstd 0.1.0
Loading...
Searching...
No Matches
rstd::clone::Clone Struct Referenceexport
module rstd.core

Trait for types that can explicitly duplicate themselves. More...

Detailed Description

Trait for types that can explicitly duplicate themselves.

Implementors provide:

  • clone() const -> Self : Creates and returns a duplicate of this value.
  • clone_from(Self& source) : Overwrites self with a clone of source (optional, has default).

The documentation for this struct was generated from the following file: