const_ops/impls/
bitor_assign.rs

1use crate::BitOrAssign;
2
3macro_rules! bitor_assign_impl {
4    ($($t:ty)+) => ($(
5        impl const BitOrAssign for $t {
6            #[inline]
7            fn bitor_assign(&mut self, other: $t) { *self |= other }
8        }
9    )+)
10}
11
12bitor_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }