get_variant

Macro get_variant 

Source
macro_rules! get_variant {
    ($expression:expr, $pattern:pat_param $(if $guard:expr)?) => { ... };
}