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]
fn upgrade(&self) -> Option<Handle<A>>
[src]
Tries to upgrade to a Handle
.
fn is_dead(&self) -> bool
[src]
Returns true
if the original handle is dead.