[][src]Struct reference_counted::UniqueRc

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

Trait Implementations

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

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

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

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

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

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

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

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

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

type Target = T

The resulting type after dereferencing.

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

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

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

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

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

impl<T: ?Sized> Into<Rc<T>> for UniqueRc<T>[src]

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

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

Comparison for two UniqueRcs.

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

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

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

Equality for two UniqueRcs.

Two UniqueRcs 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: &UniqueRc<T>) -> bool[src]

Inequality for two Rcs.

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

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

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

Partial comparison for two UniqueRcs.

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

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

Less-than comparison for two UniqueRcs.

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

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

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

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

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

Greater-than comparison for two UniqueRcs.

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

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

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

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

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

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

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

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

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

impl<T: ?Sized> Unpin for UniqueRc<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.