Macro mentat_parser_utils::satisfy_unwrap [] [src]

macro_rules! satisfy_unwrap {
    ( $cas: path, $var: ident, $body: block ) => { ... };
}

satisfy_unwrap! makes it a little easier to implement a satisfy_map body that matches a particular Value enum case, otherwise returning None.