Skip to main content

or

Macro or 

Source
macro_rules! or {
    ($($c:expr),+ $(,)?) => { ... };
}
Expand description

Combines constraints into a UnionConstraint (logical OR).

A result is produced when any of the given constraints is satisfied. All constraints must declare the same variable set.

or!(pattern!(&set_a, [...]), pattern!(&set_b, [...]))