pub trait DeepCloneWithLock: Sized {
    fn deep_clone_with_lock(
        &self,
        lock: &SharedRwLock,
        guard: &SharedRwLockReadGuard<'_>,
        params: &DeepCloneParams
    ) -> Self; }
Expand description

A trait to do a deep clone of a given CSS type. Gets a lock and a read guard, in order to be able to read and clone nested structures.

Required Methods§

source

fn deep_clone_with_lock(
    &self,
    lock: &SharedRwLock,
    guard: &SharedRwLockReadGuard<'_>,
    params: &DeepCloneParams
) -> Self

Deep clones this object.

Implementors§