Module std::clone

Overview

Cloning for Rune.

This module defines methods and types used when cloning values.

By default all values in rune are structurally shared, so in order to get a unique instance of it you must clone it.

Functions

clone

Clone the specified value.

Traits

Clone

The Clone trait is used to explicitly clone values.