vstd::std_specs::clone

Trait ExClone

Source
pub trait ExClone: Sized {
    type ExternalTraitSpecificationFor: Clone;

    // Required method
    exec fn clone(&self) -> Self;
}

Required Associated Types§

Required Methods§

Source

exec fn 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§