Method lrs::rc::Arc::add_ref

Adds a new reference, returning an Arc that points to the same data.

Syntax

impl<T, H> Arc<T, H>
    where H: Allocator,
          T: Leak,
{
    fn add_ref(&self) -> Arc<T, H>
}