retrieval 0.2.0

Allows the retrieval of trait implementations.
Documentation
//! Tests that 2 implementations can fit in a capacity of 2.

use retrieval::*;

#[retrieve(2)]
trait Number {
    const NUMBER: u8 = 0;
}

#[iterate(2)]
const fn testing<T: Number>() {
    assert!((T::NUMBER == 5) || (T::NUMBER == 112));
}

const _: () = testing();

#[send]
impl Number {
    const NUMBER: u8 = 5;
}

#[send]
impl Number {
    const NUMBER: u8 = 112;
}