enumcapsulate 0.6.3

Safe casting for newtype enums and their variants
Documentation
1
2
3
4
5
use enumcapsulate::IntoVariant;
pub struct Struct {
    field: (),
}
fn main() {}