Struct pleco::tools::pleco_arc::Arc[][src]

pub struct Arc<T: ?Sized> { /* fields omitted */ }

Reference counting pointer, sharable between threads.

Methods

impl<T> Arc<T>
[src]

Creates a new Arc.

impl<T: ?Sized> Arc<T>
[src]

Gets a & mut T of the inner value if there is only one reference.

Allows for determining if the reference count is zero.

Trait Implementations

impl<T: ?Sized + Sync + Send> Send for Arc<T>
[src]

impl<T: ?Sized + Sync + Send> Sync for Arc<T>
[src]

impl<T: ?Sized> Deref for Arc<T>
[src]

The resulting type after dereferencing.

Important traits for &'a mut R

Dereferences the value.

impl<T: ?Sized> Clone for Arc<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: ?Sized> Drop for Arc<T>
[src]

Executes the destructor for this type. Read more