Macrosยง
- maybe_
matches - A macro that takes an expression and matches it against a pattern, returning
an
Option. The macro returnsSomeof the value bound to the variable in the pattern if it matches it,Noneotherwise. Only patterns containing exactly one variable are supported.