hypospray 0.1.2

Lightweight dependency injection library
Documentation
1
2
3
4
5
6
7
8
/// Component implementation
pub trait ComponentImp {
    
    type Component: ?Sized;

    fn __as_ref(&self) -> &Self::Component;
    fn __as_mut(&mut self) -> &mut Self::Component;
}