Skip to main content

any

Macro any 

Source
macro_rules! any {
    () => { ... };
    ($B:ty $(,)?) => { ... };
    ($B1:ty, $($B:ty),+ $(,)?) => { ... };
}
Expand description

Allows doing “or” on any number of Bool types. When there are no types, this is False.

let _x: any!(False, True, False,) = True::default();