FromValueAndType

Derive Macro FromValueAndType 

Source
#[derive(FromValueAndType)]
{
    // Attributes available to this derive:
    #[flatten_value]
    #[unit_case]
}