Skip to main content

begin_deep_clone

Function begin_deep_clone 

Source
pub fn begin_deep_clone() -> DeepCloneGuard
Expand description

Begin a deep clone operation manually. Returns a guard that resets state on drop.

Supports nesting: only the outermost call sets a new generation. Prefer deep_clone() for simple cases.