enumcapsulate 0.6.3

Safe casting for newtype enums and their variants
Documentation
1
2
3
4
5
6
use enumcapsulate::From;

#[derive(From)]
pub enum Enum {}

fn main() {}