iter_all/
lib.rs

1#![feature(const_trait_impl)]
2
3pub trait IterAll: Sized {
4    fn iter_all(action: impl FnMut(Self));
5}
6
7#[const_trait]
8pub trait ConstDefault {
9    fn const_default() -> Self;
10}