Skip to main content

impl_from

Macro impl_from 

Source
macro_rules! impl_from {
    ($a:ident < $c:lifetime > , $b:ident:: $enum_type:ident) => { ... };
    ($a:ident, $b:ident:: $enum_type:ident) => { ... };
}
Expand description

Implement the From trait for any type.