Struct tark::Tark[][src]

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

Implementations

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

pub fn new(t: T) -> Self where
    T: Sized
[src]

pub fn atomic_count(this: &Self) -> NonZeroUsize[src]

pub fn strong_count(this: &Self) -> usize[src]

pub fn weak_count(this: &Self) -> usize[src]

pub fn downgrade(this: &Self) -> Weak<T>[src]

pub fn swap<'a>(this: &'a Self, other: &'a Tark<T>)[src]

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

pub fn sendable(this: Self) -> TarkSend<T>[src]

Trait Implementations

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

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

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

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

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

type Target = T

The resulting type after dereferencing.

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl<T> !RefUnwindSafe for Tark<T>

impl<T> !Send for Tark<T>

impl<T> !Sync for Tark<T>

impl<T: ?Sized> Unpin for Tark<T>

impl<T> !UnwindSafe for Tark<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> 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.