pub struct UniqueArc<T: ?Sized + 'static>(_);
An Arc that is known to be uniquely owned
This lets us build arcs that we can mutate before freezing, without needing to change the allocation
fn new(data: T) -> Self[src]
Construct a new UniqueArc
Convert to a shareable Arc
impl<T> Deref for UniqueArc<T>[src]
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T[src]
Dereferences the value.