macro_rules! from {
    ($from:ty => $ty:ident $(<$($generic:ident),*>)?) => { ... };
}
Expand description

A helper to implement From for a unit struct.