refs 0.51.0

My vision of reference counting and resources management designed for GUI applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::{Weak, manage::Managed};

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

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