[][src]Struct tablam::refcount::RefCount

pub struct RefCount<T> { /* fields omitted */ }

Implementations

impl<T> RefCount<T>[src]

pub fn new(t: T) -> RefCount<T>[src]

impl<T> RefCount<T>[src]

pub fn borrow(&self) -> Ref<'_, T>[src]

pub fn borrow_mut(&self) -> RefMut<'_, T>[src]

pub fn as_ptr(&self) -> *mut T[src]

Trait Implementations

impl<T: Clone> Clone for RefCount<T>[src]

impl<T: Debug> Debug for RefCount<T>[src]

impl<'a, T> Deref for RefCount<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: Display> Display for RefCount<T>[src]

impl<T: Eq> Eq for RefCount<T>[src]

impl<T> Hash for RefCount<T>[src]

impl<T: Ord> Ord for RefCount<T>[src]

impl<T: PartialEq> PartialEq<RefCount<T>> for RefCount<T>[src]

impl<T: PartialOrd> PartialOrd<RefCount<T>> for RefCount<T>[src]

impl<T> StructuralEq for RefCount<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for RefCount<T>

impl<T> !Send for RefCount<T>

impl<T> !Sync for RefCount<T>

impl<T> Unpin for RefCount<T>

impl<T> !UnwindSafe for RefCount<T>

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> DynClone for T where
    T: Clone
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.