manage 0.12.0

Manage assets and other resources
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use refs::Weak;

use crate::Managed;

pub trait ExistsManaged {
    fn exists_managed(&self) -> bool;
}

impl<T: Managed> ExistsManaged for Weak<T> {
    fn exists_managed(&self) -> bool {
        self.was_initialized()
    }
}