Enum distill_loader::handle::HandleRefType[][src]

pub enum HandleRefType {
    Strong(Sender<RefOp>),
    Weak(Sender<RefOp>),
    Internal(Sender<RefOp>),
    None,
}

Keeps track of whether a handle ref is a strong, weak or “internal” ref

Variants

Strong(Sender<RefOp>)

Strong references decrement the count on drop

Weak(Sender<RefOp>)

Weak references do nothing on drop.

Internal(Sender<RefOp>)

Internal references do nothing on drop, but turn into Strong references on clone. Should only be used for references stored in loaded assets to avoid self-referencing

None

Implementation detail, used when changing state in this enum

Trait Implementations

impl Debug for HandleRefType[src]

Auto Trait Implementations

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, 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.