Skip to main content

match_any

Macro match_any 

Source
match_any!() { /* proc-macro */ }
Expand description

Match object-backed values carried by an Any-compatible scrutinee.

The scrutinee may be an owned object handle, Any, or AnyView. Convert an already-borrowed object handle to AnyView before invoking the macro.

Non-object values skip the typed patterns and use the _ fallback.