Struct servo_arc::UniqueArc [] [src]

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

Methods

impl<T> UniqueArc<T>
[src]

[src]

Construct a new UniqueArc

[src]

Convert to a shareable Arc once we're done using it

Trait Implementations

impl<T> Deref for UniqueArc<T>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<T> DerefMut for UniqueArc<T>
[src]

[src]

Mutably dereferences the value.