penum 0.1.30

Make enum conform to a given pattern
Documentation
1
2
3
4
5
6
pub trait AsRef<T>
where
    T: ?Sized,
{
    fn as_ref(&self) -> &T;
}