Skip to main content

impl_bitor

Macro impl_bitor 

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

Implements BitOr for type by delegating to Or::or

A blanket impl<T: Or> BitOr for T is not allowed, therefore implementations can be derived using this macros instead