iter_all 0.2.2

Iterate all enum vases
Documentation
1
2
3
4
5
6
7
8
9
10
#![feature(const_trait_impl)]

pub trait IterAll: Sized {
    fn iter_all(action: impl FnMut(Self));
}

#[const_trait]
pub trait ConstDefault {
    fn const_default() -> Self;
}