rune::modules::clone

Function module

Source
pub fn module() -> Result<Module, ContextError>
Expand description

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.