Trait CloneArc

Source
pub trait CloneArc {
    // Required method
    fn clone_arc(&self) -> Self;
}

Required Methods§

Source

fn clone_arc(&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.

Implementations on Foreign Types§

Source§

impl<T: ?Sized> CloneArc for Arc<T>

Source§

fn clone_arc(&self) -> Self

Implementors§