inventory 0.3.21

Typed distributed plugin registration
Documentation
1
2
3
4
5
6
7
8
9
use std::mem;

pub struct Thing(pub usize);

#[test]
fn test_iter() {
    assert_eq!(0, mem::size_of::<inventory::iter<Thing>>());
    assert_eq!(1, mem::align_of::<inventory::iter<Thing>>());
}