DeepClone

Trait DeepClone 

Source
pub trait DeepClone: Sized {
    // Required method
    fn deep_clone(&self) -> Self;
}

Required Methods§

Source

fn deep_clone(&self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl DeepClone for web_rwkv::runtime::v4::State

Source§

impl DeepClone for web_rwkv::runtime::v5::State

Source§

impl DeepClone for web_rwkv::runtime::v6::State

Source§

impl DeepClone for web_rwkv::runtime::v7::State

Source§

impl<T: Scalar> DeepClone for TensorCpu<T>

Source§

impl<T: Scalar> DeepClone for TensorGpu<T, ReadWrite>