pub trait BitOr<Rhs = Self> {
type Output;
// Required method
fn bitor(self, rhs: Rhs) -> Self::Output;
}
Available on crate feature
std
only.Expand description
The bitwise OR operator |
.
Note that Rhs
is Self
by default, but this is not mandatory.
§Examples
An implementation of BitOr
for a wrapper around bool
.
use std::ops::BitOr;
#[derive(Debug, PartialEq)]
struct Scalar(bool);
impl BitOr for Scalar {
type Output = Self;
// rhs is the "right-hand side" of the expression `a | b`
fn bitor(self, rhs: Self) -> Self::Output {
Self(self.0 | rhs.0)
}
}
assert_eq!(Scalar(true) | Scalar(true), Scalar(true));
assert_eq!(Scalar(true) | Scalar(false), Scalar(true));
assert_eq!(Scalar(false) | Scalar(true), Scalar(true));
assert_eq!(Scalar(false) | Scalar(false), Scalar(false));
An implementation of BitOr
for a wrapper around Vec<bool>
.
use std::ops::BitOr;
#[derive(Debug, PartialEq)]
struct BooleanVector(Vec<bool>);
impl BitOr for BooleanVector {
type Output = Self;
fn bitor(self, Self(rhs): Self) -> Self::Output {
let Self(lhs) = self;
assert_eq!(lhs.len(), rhs.len());
Self(
lhs.iter()
.zip(rhs.iter())
.map(|(x, y)| *x | *y)
.collect()
)
}
}
let bv1 = BooleanVector(vec![true, true, false, false]);
let bv2 = BooleanVector(vec![true, false, true, false]);
let expected = BooleanVector(vec![true, true, true, false]);
assert_eq!(bv1 | bv2, expected);
Required Associated Types§
Required Methods§
Implementors§
1.74.0 · Source§impl BitOr for Saturating<i8>
impl BitOr for Saturating<i8>
type Output = Saturating<i8>
1.74.0 · Source§impl BitOr for Saturating<i16>
impl BitOr for Saturating<i16>
type Output = Saturating<i16>
1.74.0 · Source§impl BitOr for Saturating<i32>
impl BitOr for Saturating<i32>
type Output = Saturating<i32>
1.74.0 · Source§impl BitOr for Saturating<i64>
impl BitOr for Saturating<i64>
type Output = Saturating<i64>
1.74.0 · Source§impl BitOr for Saturating<i128>
impl BitOr for Saturating<i128>
type Output = Saturating<i128>
1.74.0 · Source§impl BitOr for Saturating<isize>
impl BitOr for Saturating<isize>
type Output = Saturating<isize>
1.74.0 · Source§impl BitOr for Saturating<u8>
impl BitOr for Saturating<u8>
type Output = Saturating<u8>
1.74.0 · Source§impl BitOr for Saturating<u16>
impl BitOr for Saturating<u16>
type Output = Saturating<u16>
1.74.0 · Source§impl BitOr for Saturating<u32>
impl BitOr for Saturating<u32>
type Output = Saturating<u32>
1.74.0 · Source§impl BitOr for Saturating<u64>
impl BitOr for Saturating<u64>
type Output = Saturating<u64>
1.74.0 · Source§impl BitOr for Saturating<u128>
impl BitOr for Saturating<u128>
type Output = Saturating<u128>
1.74.0 · Source§impl BitOr for Saturating<usize>
impl BitOr for Saturating<usize>
type Output = Saturating<usize>
1.74.0 · Source§impl BitOr<&Saturating<i8>> for &Saturating<i8>
impl BitOr<&Saturating<i8>> for &Saturating<i8>
1.74.0 · Source§impl BitOr<&Saturating<i8>> for Saturating<i8>
impl BitOr<&Saturating<i8>> for Saturating<i8>
1.74.0 · Source§impl BitOr<&Saturating<i16>> for &Saturating<i16>
impl BitOr<&Saturating<i16>> for &Saturating<i16>
1.74.0 · Source§impl BitOr<&Saturating<i16>> for Saturating<i16>
impl BitOr<&Saturating<i16>> for Saturating<i16>
1.74.0 · Source§impl BitOr<&Saturating<i32>> for &Saturating<i32>
impl BitOr<&Saturating<i32>> for &Saturating<i32>
1.74.0 · Source§impl BitOr<&Saturating<i32>> for Saturating<i32>
impl BitOr<&Saturating<i32>> for Saturating<i32>
1.74.0 · Source§impl BitOr<&Saturating<i64>> for &Saturating<i64>
impl BitOr<&Saturating<i64>> for &Saturating<i64>
1.74.0 · Source§impl BitOr<&Saturating<i64>> for Saturating<i64>
impl BitOr<&Saturating<i64>> for Saturating<i64>
1.74.0 · Source§impl BitOr<&Saturating<i128>> for &Saturating<i128>
impl BitOr<&Saturating<i128>> for &Saturating<i128>
1.74.0 · Source§impl BitOr<&Saturating<i128>> for Saturating<i128>
impl BitOr<&Saturating<i128>> for Saturating<i128>
1.74.0 · Source§impl BitOr<&Saturating<isize>> for &Saturating<isize>
impl BitOr<&Saturating<isize>> for &Saturating<isize>
1.74.0 · Source§impl BitOr<&Saturating<isize>> for Saturating<isize>
impl BitOr<&Saturating<isize>> for Saturating<isize>
1.74.0 · Source§impl BitOr<&Saturating<u8>> for &Saturating<u8>
impl BitOr<&Saturating<u8>> for &Saturating<u8>
1.74.0 · Source§impl BitOr<&Saturating<u8>> for Saturating<u8>
impl BitOr<&Saturating<u8>> for Saturating<u8>
1.74.0 · Source§impl BitOr<&Saturating<u16>> for &Saturating<u16>
impl BitOr<&Saturating<u16>> for &Saturating<u16>
1.74.0 · Source§impl BitOr<&Saturating<u16>> for Saturating<u16>
impl BitOr<&Saturating<u16>> for Saturating<u16>
1.74.0 · Source§impl BitOr<&Saturating<u32>> for &Saturating<u32>
impl BitOr<&Saturating<u32>> for &Saturating<u32>
1.74.0 · Source§impl BitOr<&Saturating<u32>> for Saturating<u32>
impl BitOr<&Saturating<u32>> for Saturating<u32>
1.74.0 · Source§impl BitOr<&Saturating<u64>> for &Saturating<u64>
impl BitOr<&Saturating<u64>> for &Saturating<u64>
1.74.0 · Source§impl BitOr<&Saturating<u64>> for Saturating<u64>
impl BitOr<&Saturating<u64>> for Saturating<u64>
1.74.0 · Source§impl BitOr<&Saturating<u128>> for &Saturating<u128>
impl BitOr<&Saturating<u128>> for &Saturating<u128>
1.74.0 · Source§impl BitOr<&Saturating<u128>> for Saturating<u128>
impl BitOr<&Saturating<u128>> for Saturating<u128>
1.74.0 · Source§impl BitOr<&Saturating<usize>> for &Saturating<usize>
impl BitOr<&Saturating<usize>> for &Saturating<usize>
1.74.0 · Source§impl BitOr<&Saturating<usize>> for Saturating<usize>
impl BitOr<&Saturating<usize>> for Saturating<usize>
Source§impl BitOr<&NonZeroI16_be> for &NonZeroI16_be
impl BitOr<&NonZeroI16_be> for &NonZeroI16_be
Source§impl BitOr<&NonZeroI16_be> for NonZeroI16_be
impl BitOr<&NonZeroI16_be> for NonZeroI16_be
Source§impl BitOr<&NonZeroI16_le> for &NonZeroI16_le
impl BitOr<&NonZeroI16_le> for &NonZeroI16_le
Source§impl BitOr<&NonZeroI16_le> for NonZeroI16_le
impl BitOr<&NonZeroI16_le> for NonZeroI16_le
Source§impl BitOr<&NonZeroI32_be> for &NonZeroI32_be
impl BitOr<&NonZeroI32_be> for &NonZeroI32_be
Source§impl BitOr<&NonZeroI32_be> for NonZeroI32_be
impl BitOr<&NonZeroI32_be> for NonZeroI32_be
Source§impl BitOr<&NonZeroI32_le> for &NonZeroI32_le
impl BitOr<&NonZeroI32_le> for &NonZeroI32_le
Source§impl BitOr<&NonZeroI32_le> for NonZeroI32_le
impl BitOr<&NonZeroI32_le> for NonZeroI32_le
Source§impl BitOr<&NonZeroI64_be> for &NonZeroI64_be
impl BitOr<&NonZeroI64_be> for &NonZeroI64_be
Source§impl BitOr<&NonZeroI64_be> for NonZeroI64_be
impl BitOr<&NonZeroI64_be> for NonZeroI64_be
Source§impl BitOr<&NonZeroI64_le> for &NonZeroI64_le
impl BitOr<&NonZeroI64_le> for &NonZeroI64_le
Source§impl BitOr<&NonZeroI64_le> for NonZeroI64_le
impl BitOr<&NonZeroI64_le> for NonZeroI64_le
Source§impl BitOr<&NonZeroI128_be> for &NonZeroI128_be
impl BitOr<&NonZeroI128_be> for &NonZeroI128_be
Source§impl BitOr<&NonZeroI128_be> for NonZeroI128_be
impl BitOr<&NonZeroI128_be> for NonZeroI128_be
Source§impl BitOr<&NonZeroI128_le> for &NonZeroI128_le
impl BitOr<&NonZeroI128_le> for &NonZeroI128_le
Source§impl BitOr<&NonZeroI128_le> for NonZeroI128_le
impl BitOr<&NonZeroI128_le> for NonZeroI128_le
Source§impl BitOr<&NonZeroU16_be> for &NonZeroU16_be
impl BitOr<&NonZeroU16_be> for &NonZeroU16_be
Source§impl BitOr<&NonZeroU16_be> for NonZeroU16_be
impl BitOr<&NonZeroU16_be> for NonZeroU16_be
Source§impl BitOr<&NonZeroU16_le> for &NonZeroU16_le
impl BitOr<&NonZeroU16_le> for &NonZeroU16_le
Source§impl BitOr<&NonZeroU16_le> for NonZeroU16_le
impl BitOr<&NonZeroU16_le> for NonZeroU16_le
Source§impl BitOr<&NonZeroU32_be> for &NonZeroU32_be
impl BitOr<&NonZeroU32_be> for &NonZeroU32_be
Source§impl BitOr<&NonZeroU32_be> for NonZeroU32_be
impl BitOr<&NonZeroU32_be> for NonZeroU32_be
Source§impl BitOr<&NonZeroU32_le> for &NonZeroU32_le
impl BitOr<&NonZeroU32_le> for &NonZeroU32_le
Source§impl BitOr<&NonZeroU32_le> for NonZeroU32_le
impl BitOr<&NonZeroU32_le> for NonZeroU32_le
Source§impl BitOr<&NonZeroU64_be> for &NonZeroU64_be
impl BitOr<&NonZeroU64_be> for &NonZeroU64_be
Source§impl BitOr<&NonZeroU64_be> for NonZeroU64_be
impl BitOr<&NonZeroU64_be> for NonZeroU64_be
Source§impl BitOr<&NonZeroU64_le> for &NonZeroU64_le
impl BitOr<&NonZeroU64_le> for &NonZeroU64_le
Source§impl BitOr<&NonZeroU64_le> for NonZeroU64_le
impl BitOr<&NonZeroU64_le> for NonZeroU64_le
Source§impl BitOr<&NonZeroU128_be> for &NonZeroU128_be
impl BitOr<&NonZeroU128_be> for &NonZeroU128_be
Source§impl BitOr<&NonZeroU128_be> for NonZeroU128_be
impl BitOr<&NonZeroU128_be> for NonZeroU128_be
Source§impl BitOr<&NonZeroU128_le> for &NonZeroU128_le
impl BitOr<&NonZeroU128_le> for &NonZeroU128_le
Source§impl BitOr<&NonZeroU128_le> for NonZeroU128_le
impl BitOr<&NonZeroU128_le> for NonZeroU128_le
Source§impl BitOr<&NonZeroI16_ube> for &NonZeroI16_ube
impl BitOr<&NonZeroI16_ube> for &NonZeroI16_ube
Source§impl BitOr<&NonZeroI16_ube> for NonZeroI16_ube
impl BitOr<&NonZeroI16_ube> for NonZeroI16_ube
Source§impl BitOr<&NonZeroI16_ule> for &NonZeroI16_ule
impl BitOr<&NonZeroI16_ule> for &NonZeroI16_ule
Source§impl BitOr<&NonZeroI16_ule> for NonZeroI16_ule
impl BitOr<&NonZeroI16_ule> for NonZeroI16_ule
Source§impl BitOr<&NonZeroI32_ube> for &NonZeroI32_ube
impl BitOr<&NonZeroI32_ube> for &NonZeroI32_ube
Source§impl BitOr<&NonZeroI32_ube> for NonZeroI32_ube
impl BitOr<&NonZeroI32_ube> for NonZeroI32_ube
Source§impl BitOr<&NonZeroI32_ule> for &NonZeroI32_ule
impl BitOr<&NonZeroI32_ule> for &NonZeroI32_ule
Source§impl BitOr<&NonZeroI32_ule> for NonZeroI32_ule
impl BitOr<&NonZeroI32_ule> for NonZeroI32_ule
Source§impl BitOr<&NonZeroI64_ube> for &NonZeroI64_ube
impl BitOr<&NonZeroI64_ube> for &NonZeroI64_ube
Source§impl BitOr<&NonZeroI64_ube> for NonZeroI64_ube
impl BitOr<&NonZeroI64_ube> for NonZeroI64_ube
Source§impl BitOr<&NonZeroI64_ule> for &NonZeroI64_ule
impl BitOr<&NonZeroI64_ule> for &NonZeroI64_ule
Source§impl BitOr<&NonZeroI64_ule> for NonZeroI64_ule
impl BitOr<&NonZeroI64_ule> for NonZeroI64_ule
Source§impl BitOr<&NonZeroI128_ube> for &NonZeroI128_ube
impl BitOr<&NonZeroI128_ube> for &NonZeroI128_ube
Source§impl BitOr<&NonZeroI128_ube> for NonZeroI128_ube
impl BitOr<&NonZeroI128_ube> for NonZeroI128_ube
Source§impl BitOr<&NonZeroI128_ule> for &NonZeroI128_ule
impl BitOr<&NonZeroI128_ule> for &NonZeroI128_ule
Source§impl BitOr<&NonZeroI128_ule> for NonZeroI128_ule
impl BitOr<&NonZeroI128_ule> for NonZeroI128_ule
Source§impl BitOr<&NonZeroU16_ube> for &NonZeroU16_ube
impl BitOr<&NonZeroU16_ube> for &NonZeroU16_ube
Source§impl BitOr<&NonZeroU16_ube> for NonZeroU16_ube
impl BitOr<&NonZeroU16_ube> for NonZeroU16_ube
Source§impl BitOr<&NonZeroU16_ule> for &NonZeroU16_ule
impl BitOr<&NonZeroU16_ule> for &NonZeroU16_ule
Source§impl BitOr<&NonZeroU16_ule> for NonZeroU16_ule
impl BitOr<&NonZeroU16_ule> for NonZeroU16_ule
Source§impl BitOr<&NonZeroU32_ube> for &NonZeroU32_ube
impl BitOr<&NonZeroU32_ube> for &NonZeroU32_ube
Source§impl BitOr<&NonZeroU32_ube> for NonZeroU32_ube
impl BitOr<&NonZeroU32_ube> for NonZeroU32_ube
Source§impl BitOr<&NonZeroU32_ule> for &NonZeroU32_ule
impl BitOr<&NonZeroU32_ule> for &NonZeroU32_ule
Source§impl BitOr<&NonZeroU32_ule> for NonZeroU32_ule
impl BitOr<&NonZeroU32_ule> for NonZeroU32_ule
Source§impl BitOr<&NonZeroU64_ube> for &NonZeroU64_ube
impl BitOr<&NonZeroU64_ube> for &NonZeroU64_ube
Source§impl BitOr<&NonZeroU64_ube> for NonZeroU64_ube
impl BitOr<&NonZeroU64_ube> for NonZeroU64_ube
Source§impl BitOr<&NonZeroU64_ule> for &NonZeroU64_ule
impl BitOr<&NonZeroU64_ule> for &NonZeroU64_ule
Source§impl BitOr<&NonZeroU64_ule> for NonZeroU64_ule
impl BitOr<&NonZeroU64_ule> for NonZeroU64_ule
Source§impl BitOr<&NonZeroU128_ube> for &NonZeroU128_ube
impl BitOr<&NonZeroU128_ube> for &NonZeroU128_ube
Source§impl BitOr<&NonZeroU128_ube> for NonZeroU128_ube
impl BitOr<&NonZeroU128_ube> for NonZeroU128_ube
Source§impl BitOr<&NonZeroU128_ule> for &NonZeroU128_ule
impl BitOr<&NonZeroU128_ule> for &NonZeroU128_ule
Source§impl BitOr<&NonZeroU128_ule> for NonZeroU128_ule
impl BitOr<&NonZeroU128_ule> for NonZeroU128_ule
Source§impl BitOr<NonZeroI16_be> for &NonZeroI16_be
impl BitOr<NonZeroI16_be> for &NonZeroI16_be
Source§impl BitOr<NonZeroI16_le> for &NonZeroI16_le
impl BitOr<NonZeroI16_le> for &NonZeroI16_le
Source§impl BitOr<NonZeroI32_be> for &NonZeroI32_be
impl BitOr<NonZeroI32_be> for &NonZeroI32_be
Source§impl BitOr<NonZeroI32_le> for &NonZeroI32_le
impl BitOr<NonZeroI32_le> for &NonZeroI32_le
Source§impl BitOr<NonZeroI64_be> for &NonZeroI64_be
impl BitOr<NonZeroI64_be> for &NonZeroI64_be
Source§impl BitOr<NonZeroI64_le> for &NonZeroI64_le
impl BitOr<NonZeroI64_le> for &NonZeroI64_le
Source§impl BitOr<NonZeroI128_be> for &NonZeroI128_be
impl BitOr<NonZeroI128_be> for &NonZeroI128_be
Source§impl BitOr<NonZeroI128_le> for &NonZeroI128_le
impl BitOr<NonZeroI128_le> for &NonZeroI128_le
Source§impl BitOr<NonZeroU16_be> for &NonZeroU16_be
impl BitOr<NonZeroU16_be> for &NonZeroU16_be
Source§impl BitOr<NonZeroU16_le> for &NonZeroU16_le
impl BitOr<NonZeroU16_le> for &NonZeroU16_le
Source§impl BitOr<NonZeroU32_be> for &NonZeroU32_be
impl BitOr<NonZeroU32_be> for &NonZeroU32_be
Source§impl BitOr<NonZeroU32_le> for &NonZeroU32_le
impl BitOr<NonZeroU32_le> for &NonZeroU32_le
Source§impl BitOr<NonZeroU64_be> for &NonZeroU64_be
impl BitOr<NonZeroU64_be> for &NonZeroU64_be
Source§impl BitOr<NonZeroU64_le> for &NonZeroU64_le
impl BitOr<NonZeroU64_le> for &NonZeroU64_le
Source§impl BitOr<NonZeroU128_be> for &NonZeroU128_be
impl BitOr<NonZeroU128_be> for &NonZeroU128_be
Source§impl BitOr<NonZeroU128_le> for &NonZeroU128_le
impl BitOr<NonZeroU128_le> for &NonZeroU128_le
Source§impl BitOr<NonZeroI16_ube> for &NonZeroI16_ube
impl BitOr<NonZeroI16_ube> for &NonZeroI16_ube
Source§impl BitOr<NonZeroI16_ule> for &NonZeroI16_ule
impl BitOr<NonZeroI16_ule> for &NonZeroI16_ule
Source§impl BitOr<NonZeroI32_ube> for &NonZeroI32_ube
impl BitOr<NonZeroI32_ube> for &NonZeroI32_ube
Source§impl BitOr<NonZeroI32_ule> for &NonZeroI32_ule
impl BitOr<NonZeroI32_ule> for &NonZeroI32_ule
Source§impl BitOr<NonZeroI64_ube> for &NonZeroI64_ube
impl BitOr<NonZeroI64_ube> for &NonZeroI64_ube
Source§impl BitOr<NonZeroI64_ule> for &NonZeroI64_ule
impl BitOr<NonZeroI64_ule> for &NonZeroI64_ule
Source§impl BitOr<NonZeroI128_ube> for &NonZeroI128_ube
impl BitOr<NonZeroI128_ube> for &NonZeroI128_ube
Source§impl BitOr<NonZeroI128_ule> for &NonZeroI128_ule
impl BitOr<NonZeroI128_ule> for &NonZeroI128_ule
Source§impl BitOr<NonZeroU16_ube> for &NonZeroU16_ube
impl BitOr<NonZeroU16_ube> for &NonZeroU16_ube
Source§impl BitOr<NonZeroU16_ule> for &NonZeroU16_ule
impl BitOr<NonZeroU16_ule> for &NonZeroU16_ule
Source§impl BitOr<NonZeroU32_ube> for &NonZeroU32_ube
impl BitOr<NonZeroU32_ube> for &NonZeroU32_ube
Source§impl BitOr<NonZeroU32_ule> for &NonZeroU32_ule
impl BitOr<NonZeroU32_ule> for &NonZeroU32_ule
Source§impl BitOr<NonZeroU64_ube> for &NonZeroU64_ube
impl BitOr<NonZeroU64_ube> for &NonZeroU64_ube
Source§impl BitOr<NonZeroU64_ule> for &NonZeroU64_ule
impl BitOr<NonZeroU64_ule> for &NonZeroU64_ule
Source§impl BitOr<NonZeroU128_ube> for &NonZeroU128_ube
impl BitOr<NonZeroU128_ube> for &NonZeroU128_ube
Source§impl BitOr<NonZeroU128_ule> for &NonZeroU128_ule
impl BitOr<NonZeroU128_ule> for &NonZeroU128_ule
1.74.0 · Source§impl<'a> BitOr<Saturating<i8>> for &'a Saturating<i8>
impl<'a> BitOr<Saturating<i8>> for &'a Saturating<i8>
1.74.0 · Source§impl<'a> BitOr<Saturating<i16>> for &'a Saturating<i16>
impl<'a> BitOr<Saturating<i16>> for &'a Saturating<i16>
1.74.0 · Source§impl<'a> BitOr<Saturating<i32>> for &'a Saturating<i32>
impl<'a> BitOr<Saturating<i32>> for &'a Saturating<i32>
1.74.0 · Source§impl<'a> BitOr<Saturating<i64>> for &'a Saturating<i64>
impl<'a> BitOr<Saturating<i64>> for &'a Saturating<i64>
1.74.0 · Source§impl<'a> BitOr<Saturating<i128>> for &'a Saturating<i128>
impl<'a> BitOr<Saturating<i128>> for &'a Saturating<i128>
1.74.0 · Source§impl<'a> BitOr<Saturating<isize>> for &'a Saturating<isize>
impl<'a> BitOr<Saturating<isize>> for &'a Saturating<isize>
1.74.0 · Source§impl<'a> BitOr<Saturating<u8>> for &'a Saturating<u8>
impl<'a> BitOr<Saturating<u8>> for &'a Saturating<u8>
1.74.0 · Source§impl<'a> BitOr<Saturating<u16>> for &'a Saturating<u16>
impl<'a> BitOr<Saturating<u16>> for &'a Saturating<u16>
1.74.0 · Source§impl<'a> BitOr<Saturating<u32>> for &'a Saturating<u32>
impl<'a> BitOr<Saturating<u32>> for &'a Saturating<u32>
1.74.0 · Source§impl<'a> BitOr<Saturating<u64>> for &'a Saturating<u64>
impl<'a> BitOr<Saturating<u64>> for &'a Saturating<u64>
1.74.0 · Source§impl<'a> BitOr<Saturating<u128>> for &'a Saturating<u128>
impl<'a> BitOr<Saturating<u128>> for &'a Saturating<u128>
1.74.0 · Source§impl<'a> BitOr<Saturating<usize>> for &'a Saturating<usize>
impl<'a> BitOr<Saturating<usize>> for &'a Saturating<usize>
Source§impl<Ul, Ur> BitOr<UInt<Ur, B0>> for UInt<Ul, B0>
impl<Ul, Ur> BitOr<UInt<Ur, B0>> for UInt<Ul, B0>
UInt<Ul, B0> | UInt<Ur, B0> = UInt<Ul | Ur, B0>
Source§impl<Ul, Ur> BitOr<UInt<Ur, B0>> for UInt<Ul, B1>
impl<Ul, Ur> BitOr<UInt<Ur, B0>> for UInt<Ul, B1>
UInt<Ul, B1> | UInt<Ur, B0> = UInt<Ul | Ur, B1>
Source§impl<Ul, Ur> BitOr<UInt<Ur, B1>> for UInt<Ul, B0>
impl<Ul, Ur> BitOr<UInt<Ur, B1>> for UInt<Ul, B0>
UInt<Ul, B0> | UInt<Ur, B1> = UInt<Ul | Ur, B1>
Source§impl<Ul, Ur> BitOr<UInt<Ur, B1>> for UInt<Ul, B1>
impl<Ul, Ur> BitOr<UInt<Ur, B1>> for UInt<Ul, B1>
UInt<Ul, B1> | UInt<Ur, B1> = UInt<Ul | Ur, B1>