[][src]Struct reference_counted::UniqueArc

pub struct UniqueArc<T: ?Sized>(_);

Trait Implementations

impl<T: ?Sized> AsMut<T> for UniqueArc<T>[src]

impl<T: ?Sized> AsRef<T> for UniqueArc<T>[src]

impl<T: ?Sized> Borrow<T> for UniqueArc<T>[src]

impl<T: ?Sized> BorrowMut<T> for UniqueArc<T>[src]

impl<T: ?Sized + Debug> Debug for UniqueArc<T>[src]

impl<T: Default> Default for UniqueArc<T>[src]

fn default() -> UniqueArc<T>[src]

Creates a new UniqueArc<T>, with the Default value for T.

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

type Target = T

The resulting type after dereferencing.

impl<T: ?Sized> DerefMut for UniqueArc<T>[src]

impl<T: ?Sized + Display> Display for UniqueArc<T>[src]

impl<T: ?Sized + Eq> Eq for UniqueArc<T>[src]

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

impl<T: ?Sized + Hash> Hash for UniqueArc<T>[src]

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

impl<T: ?Sized + Ord> Ord for UniqueArc<T>[src]

fn cmp(&self, other: &UniqueArc<T>) -> Ordering[src]

Comparison for two UniqueArcs.

The two are compared by calling cmp() on their inner values.

impl<T: ?Sized + PartialEq> PartialEq<UniqueArc<T>> for UniqueArc<T>[src]

fn eq(&self, other: &UniqueArc<T>) -> bool[src]

Equality for two UniqueArcs.

Two UniqueArcs are equal if their inner values are equal, even if they are stored in different allocation. This implementation does not check for pointer equality.

fn ne(&self, other: &UniqueArc<T>) -> bool[src]

Inequality for two Arcs.

Two Arcs are unequal if their inner values are unequal. This implementation does not check for pointer equality.

impl<T: ?Sized + PartialOrd> PartialOrd<UniqueArc<T>> for UniqueArc<T>[src]

fn partial_cmp(&self, other: &UniqueArc<T>) -> Option<Ordering>[src]

Partial comparison for two UniqueArcs.

The two are compared by calling partial_cmp() on their inner values.

fn lt(&self, other: &UniqueArc<T>) -> bool[src]

Less-than comparison for two UniqueArcs.

The two are compared by calling < on their inner values.

fn le(&self, other: &UniqueArc<T>) -> bool[src]

'Less than or equal to' comparison for two UniqueArcs.

The two are compared by calling <= on their inner values.

fn gt(&self, other: &UniqueArc<T>) -> bool[src]

Greater-than comparison for two UniqueArcs.

The two are compared by calling > on their inner values.

fn ge(&self, other: &UniqueArc<T>) -> bool[src]

'Greater than or equal to' comparison for two UniqueArcs.

The two are compared by calling >= on their inner values.

impl<T: ?Sized> Pointer for UniqueArc<T>[src]

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

impl<T: ?Sized> SmartPointer<T> for UniqueArc<T>[src]

impl<T: ?Sized> SmartPointerMut<T> for UniqueArc<T>[src]

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

impl<T: ?Sized> Unpin for UniqueArc<T>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.