Struct amethyst_assets::WeakHandle[][src]

pub struct WeakHandle<A> { /* fields omitted */ }

A weak handle, which is useful if you don't directly need the asset like in caches. This way, the asset can still get dropped (if you want that).

Methods

impl<A> WeakHandle<A>
[src]

Tries to upgrade to a Handle.

Returns true if the original handle is dead.

Trait Implementations

impl<A> Clone for WeakHandle<A>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<A> Send for WeakHandle<A> where
    A: Send

impl<A> Sync for WeakHandle<A> where
    A: Sync