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.45.0 (const: unstable) · sourceimpl BitOr<i16> for NonZeroI16
impl BitOr<i16> for NonZeroI16
type Output = NonZeroI16
1.45.0 (const: unstable) · sourceimpl BitOr<i32> for NonZeroI32
impl BitOr<i32> for NonZeroI32
type Output = NonZeroI32
1.45.0 (const: unstable) · sourceimpl BitOr<i64> for NonZeroI64
impl BitOr<i64> for NonZeroI64
type Output = NonZeroI64
1.45.0 (const: unstable) · sourceimpl BitOr<i128> for NonZeroI128
impl BitOr<i128> for NonZeroI128
type Output = NonZeroI128
1.45.0 (const: unstable) · sourceimpl BitOr<isize> for NonZeroIsize
impl BitOr<isize> for NonZeroIsize
type Output = NonZeroIsize
1.45.0 (const: unstable) · sourceimpl BitOr<u16> for NonZeroU16
impl BitOr<u16> for NonZeroU16
type Output = NonZeroU16
1.45.0 (const: unstable) · sourceimpl BitOr<u32> for NonZeroU32
impl BitOr<u32> for NonZeroU32
type Output = NonZeroU32
1.45.0 (const: unstable) · sourceimpl BitOr<u64> for NonZeroU64
impl BitOr<u64> for NonZeroU64
type Output = NonZeroU64
1.45.0 (const: unstable) · sourceimpl BitOr<u128> for NonZeroU128
impl BitOr<u128> for NonZeroU128
type Output = NonZeroU128
1.45.0 (const: unstable) · sourceimpl BitOr<usize> for NonZeroUsize
impl BitOr<usize> for NonZeroUsize
type Output = NonZeroUsize
impl BitOr<FallocateFlags> for FallocateFlags
impl BitOr<FallocateFlags> for FallocateFlags
type Output = FallocateFlags
impl BitOr<RenameFlags> for RenameFlags
impl BitOr<RenameFlags> for RenameFlags
type Output = RenameFlags
impl BitOr<SpliceFFlags> for SpliceFFlags
impl BitOr<SpliceFFlags> for SpliceFFlags
type Output = SpliceFFlags
impl BitOr<DeleteModuleFlags> for DeleteModuleFlags
impl BitOr<DeleteModuleFlags> for DeleteModuleFlags
type Output = DeleteModuleFlags
impl BitOr<ModuleInitFlags> for ModuleInitFlags
impl BitOr<ModuleInitFlags> for ModuleInitFlags
type Output = ModuleInitFlags
impl BitOr<InterfaceFlags> for InterfaceFlags
impl BitOr<InterfaceFlags> for InterfaceFlags
type Output = InterfaceFlags
impl BitOr<CloneFlags> for CloneFlags
impl BitOr<CloneFlags> for CloneFlags
type Output = CloneFlags
impl BitOr<EpollCreateFlags> for EpollCreateFlags
impl BitOr<EpollCreateFlags> for EpollCreateFlags
type Output = EpollCreateFlags
impl BitOr<EpollFlags> for EpollFlags
impl BitOr<EpollFlags> for EpollFlags
type Output = EpollFlags
impl BitOr<AddWatchFlags> for AddWatchFlags
impl BitOr<AddWatchFlags> for AddWatchFlags
type Output = AddWatchFlags
impl BitOr<MemFdCreateFlag> for MemFdCreateFlag
impl BitOr<MemFdCreateFlag> for MemFdCreateFlag
type Output = MemFdCreateFlag
impl BitOr<MRemapFlags> for MRemapFlags
impl BitOr<MRemapFlags> for MRemapFlags
type Output = MRemapFlags
impl BitOr<MlockAllFlags> for MlockAllFlags
impl BitOr<MlockAllFlags> for MlockAllFlags
type Output = MlockAllFlags
impl BitOr<QuotaValidFlags> for QuotaValidFlags
impl BitOr<QuotaValidFlags> for QuotaValidFlags
type Output = QuotaValidFlags
impl BitOr<TimestampingFlag> for TimestampingFlag
impl BitOr<TimestampingFlag> for TimestampingFlag
type Output = TimestampingFlag
impl BitOr<ControlFlags> for ControlFlags
impl BitOr<ControlFlags> for ControlFlags
type Output = ControlFlags
impl BitOr<InputFlags> for InputFlags
impl BitOr<InputFlags> for InputFlags
type Output = InputFlags
impl BitOr<LocalFlags> for LocalFlags
impl BitOr<LocalFlags> for LocalFlags
type Output = LocalFlags
impl BitOr<OutputFlags> for OutputFlags
impl BitOr<OutputFlags> for OutputFlags
type Output = OutputFlags
impl BitOr<TimerSetTimeFlags> for TimerSetTimeFlags
impl BitOr<TimerSetTimeFlags> for TimerSetTimeFlags
type Output = TimerSetTimeFlags
impl BitOr<TimerFlags> for TimerFlags
impl BitOr<TimerFlags> for TimerFlags
type Output = TimerFlags
impl BitOr<WaitPidFlag> for WaitPidFlag
impl BitOr<WaitPidFlag> for WaitPidFlag
type Output = WaitPidFlag
impl BitOr<AccessFlags> for AccessFlags
impl BitOr<AccessFlags> for AccessFlags
type Output = AccessFlags
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroUsize> for usize
impl BitOr<NonZeroUsize> for usize
type Output = NonZeroUsize
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroUsize> for NonZeroUsize
impl BitOr<NonZeroUsize> for NonZeroUsize
type Output = NonZeroUsize
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroI16> for i16
impl BitOr<NonZeroI16> for i16
type Output = NonZeroI16
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroI16> for NonZeroI16
impl BitOr<NonZeroI16> for NonZeroI16
type Output = NonZeroI16
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroI32> for i32
impl BitOr<NonZeroI32> for i32
type Output = NonZeroI32
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroI32> for NonZeroI32
impl BitOr<NonZeroI32> for NonZeroI32
type Output = NonZeroI32
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroI64> for i64
impl BitOr<NonZeroI64> for i64
type Output = NonZeroI64
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroI64> for NonZeroI64
impl BitOr<NonZeroI64> for NonZeroI64
type Output = NonZeroI64
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroI128> for i128
impl BitOr<NonZeroI128> for i128
type Output = NonZeroI128
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroI128> for NonZeroI128
impl BitOr<NonZeroI128> for NonZeroI128
type Output = NonZeroI128
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroIsize> for isize
impl BitOr<NonZeroIsize> for isize
type Output = NonZeroIsize
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroIsize> for NonZeroIsize
impl BitOr<NonZeroIsize> for NonZeroIsize
type Output = NonZeroIsize
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroU16> for u16
impl BitOr<NonZeroU16> for u16
type Output = NonZeroU16
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroU16> for NonZeroU16
impl BitOr<NonZeroU16> for NonZeroU16
type Output = NonZeroU16
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroU32> for u32
impl BitOr<NonZeroU32> for u32
type Output = NonZeroU32
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroU32> for NonZeroU32
impl BitOr<NonZeroU32> for NonZeroU32
type Output = NonZeroU32
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroU64> for u64
impl BitOr<NonZeroU64> for u64
type Output = NonZeroU64
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroU64> for NonZeroU64
impl BitOr<NonZeroU64> for NonZeroU64
type Output = NonZeroU64
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroU128> for u128
impl BitOr<NonZeroU128> for u128
type Output = NonZeroU128
1.45.0 (const: unstable) · sourceimpl BitOr<NonZeroU128> for NonZeroU128
impl BitOr<NonZeroU128> for NonZeroU128
type Output = NonZeroU128
sourceimpl BitOr<Saturating<i8>> for Saturating<i8>
impl BitOr<Saturating<i8>> for Saturating<i8>
type Output = Saturating<i8>
sourceimpl BitOr<Saturating<i16>> for Saturating<i16>
impl BitOr<Saturating<i16>> for Saturating<i16>
type Output = Saturating<i16>
sourceimpl BitOr<Saturating<i32>> for Saturating<i32>
impl BitOr<Saturating<i32>> for Saturating<i32>
type Output = Saturating<i32>
sourceimpl BitOr<Saturating<i64>> for Saturating<i64>
impl BitOr<Saturating<i64>> for Saturating<i64>
type Output = Saturating<i64>
sourceimpl BitOr<Saturating<i128>> for Saturating<i128>
impl BitOr<Saturating<i128>> for Saturating<i128>
type Output = Saturating<i128>
sourceimpl BitOr<Saturating<isize>> for Saturating<isize>
impl BitOr<Saturating<isize>> for Saturating<isize>
type Output = Saturating<isize>
sourceimpl BitOr<Saturating<u8>> for Saturating<u8>
impl BitOr<Saturating<u8>> for Saturating<u8>
type Output = Saturating<u8>
sourceimpl BitOr<Saturating<u16>> for Saturating<u16>
impl BitOr<Saturating<u16>> for Saturating<u16>
type Output = Saturating<u16>
sourceimpl BitOr<Saturating<u32>> for Saturating<u32>
impl BitOr<Saturating<u32>> for Saturating<u32>
type Output = Saturating<u32>
sourceimpl BitOr<Saturating<u64>> for Saturating<u64>
impl BitOr<Saturating<u64>> for Saturating<u64>
type Output = Saturating<u64>
sourceimpl BitOr<Saturating<u128>> for Saturating<u128>
impl BitOr<Saturating<u128>> for Saturating<u128>
type Output = Saturating<u128>
sourceimpl BitOr<Saturating<usize>> for Saturating<usize>
impl BitOr<Saturating<usize>> for Saturating<usize>
type Output = Saturating<usize>
sourceimpl BitOr<CMSOptions> for CMSOptions
impl BitOr<CMSOptions> for CMSOptions
type Output = CMSOptions
sourceimpl BitOr<Pkcs7Flags> for Pkcs7Flags
impl BitOr<Pkcs7Flags> for Pkcs7Flags
type Output = Pkcs7Flags
sourceimpl BitOr<ExtensionContext> for ExtensionContext
impl BitOr<ExtensionContext> for ExtensionContext
type Output = ExtensionContext
sourceimpl BitOr<ShutdownState> for ShutdownState
impl BitOr<ShutdownState> for ShutdownState
type Output = ShutdownState
sourceimpl BitOr<SslOptions> for SslOptions
impl BitOr<SslOptions> for SslOptions
type Output = SslOptions
sourceimpl BitOr<SslSessionCacheMode> for SslSessionCacheMode
impl BitOr<SslSessionCacheMode> for SslSessionCacheMode
type Output = SslSessionCacheMode
sourceimpl BitOr<SslVerifyMode> for SslVerifyMode
impl BitOr<SslVerifyMode> for SslVerifyMode
type Output = SslVerifyMode
sourceimpl BitOr<X509CheckFlags> for X509CheckFlags
impl BitOr<X509CheckFlags> for X509CheckFlags
type Output = X509CheckFlags
sourceimpl BitOr<X509VerifyFlags> for X509VerifyFlags
impl BitOr<X509VerifyFlags> for X509VerifyFlags
type Output = X509VerifyFlags
sourceimpl<'_> BitOr<&Saturating<i8>> for Saturating<i8>
impl<'_> BitOr<&Saturating<i8>> for Saturating<i8>
type Output = <Saturating<i8> as BitOr<Saturating<i8>>>::Output
sourceimpl<'_> BitOr<&Saturating<i16>> for Saturating<i16>
impl<'_> BitOr<&Saturating<i16>> for Saturating<i16>
type Output = <Saturating<i16> as BitOr<Saturating<i16>>>::Output
sourceimpl<'_> BitOr<&Saturating<i32>> for Saturating<i32>
impl<'_> BitOr<&Saturating<i32>> for Saturating<i32>
type Output = <Saturating<i32> as BitOr<Saturating<i32>>>::Output
sourceimpl<'_> BitOr<&Saturating<i64>> for Saturating<i64>
impl<'_> BitOr<&Saturating<i64>> for Saturating<i64>
type Output = <Saturating<i64> as BitOr<Saturating<i64>>>::Output
sourceimpl<'_> BitOr<&Saturating<i128>> for Saturating<i128>
impl<'_> BitOr<&Saturating<i128>> for Saturating<i128>
type Output = <Saturating<i128> as BitOr<Saturating<i128>>>::Output
sourceimpl<'_> BitOr<&Saturating<isize>> for Saturating<isize>
impl<'_> BitOr<&Saturating<isize>> for Saturating<isize>
type Output = <Saturating<isize> as BitOr<Saturating<isize>>>::Output
sourceimpl<'_> BitOr<&Saturating<u8>> for Saturating<u8>
impl<'_> BitOr<&Saturating<u8>> for Saturating<u8>
type Output = <Saturating<u8> as BitOr<Saturating<u8>>>::Output
sourceimpl<'_> BitOr<&Saturating<u16>> for Saturating<u16>
impl<'_> BitOr<&Saturating<u16>> for Saturating<u16>
type Output = <Saturating<u16> as BitOr<Saturating<u16>>>::Output
sourceimpl<'_> BitOr<&Saturating<u32>> for Saturating<u32>
impl<'_> BitOr<&Saturating<u32>> for Saturating<u32>
type Output = <Saturating<u32> as BitOr<Saturating<u32>>>::Output
sourceimpl<'_> BitOr<&Saturating<u64>> for Saturating<u64>
impl<'_> BitOr<&Saturating<u64>> for Saturating<u64>
type Output = <Saturating<u64> as BitOr<Saturating<u64>>>::Output
sourceimpl<'_> BitOr<&Saturating<u128>> for Saturating<u128>
impl<'_> BitOr<&Saturating<u128>> for Saturating<u128>
type Output = <Saturating<u128> as BitOr<Saturating<u128>>>::Output
sourceimpl<'_> BitOr<&Saturating<usize>> for Saturating<usize>
impl<'_> BitOr<&Saturating<usize>> for Saturating<usize>
type Output = <Saturating<usize> as BitOr<Saturating<usize>>>::Output
sourceimpl<'_, '_> BitOr<&Saturating<i8>> for &Saturating<i8>
impl<'_, '_> BitOr<&Saturating<i8>> for &Saturating<i8>
type Output = <Saturating<i8> as BitOr<Saturating<i8>>>::Output
sourceimpl<'_, '_> BitOr<&Saturating<i16>> for &Saturating<i16>
impl<'_, '_> BitOr<&Saturating<i16>> for &Saturating<i16>
type Output = <Saturating<i16> as BitOr<Saturating<i16>>>::Output
sourceimpl<'_, '_> BitOr<&Saturating<i32>> for &Saturating<i32>
impl<'_, '_> BitOr<&Saturating<i32>> for &Saturating<i32>
type Output = <Saturating<i32> as BitOr<Saturating<i32>>>::Output
sourceimpl<'_, '_> BitOr<&Saturating<i64>> for &Saturating<i64>
impl<'_, '_> BitOr<&Saturating<i64>> for &Saturating<i64>
type Output = <Saturating<i64> as BitOr<Saturating<i64>>>::Output
sourceimpl<'_, '_> BitOr<&Saturating<i128>> for &Saturating<i128>
impl<'_, '_> BitOr<&Saturating<i128>> for &Saturating<i128>
type Output = <Saturating<i128> as BitOr<Saturating<i128>>>::Output
sourceimpl<'_, '_> BitOr<&Saturating<isize>> for &Saturating<isize>
impl<'_, '_> BitOr<&Saturating<isize>> for &Saturating<isize>
type Output = <Saturating<isize> as BitOr<Saturating<isize>>>::Output
sourceimpl<'_, '_> BitOr<&Saturating<u8>> for &Saturating<u8>
impl<'_, '_> BitOr<&Saturating<u8>> for &Saturating<u8>
type Output = <Saturating<u8> as BitOr<Saturating<u8>>>::Output
sourceimpl<'_, '_> BitOr<&Saturating<u16>> for &Saturating<u16>
impl<'_, '_> BitOr<&Saturating<u16>> for &Saturating<u16>
type Output = <Saturating<u16> as BitOr<Saturating<u16>>>::Output
sourceimpl<'_, '_> BitOr<&Saturating<u32>> for &Saturating<u32>
impl<'_, '_> BitOr<&Saturating<u32>> for &Saturating<u32>
type Output = <Saturating<u32> as BitOr<Saturating<u32>>>::Output
sourceimpl<'_, '_> BitOr<&Saturating<u64>> for &Saturating<u64>
impl<'_, '_> BitOr<&Saturating<u64>> for &Saturating<u64>
type Output = <Saturating<u64> as BitOr<Saturating<u64>>>::Output
sourceimpl<'_, '_> BitOr<&Saturating<u128>> for &Saturating<u128>
impl<'_, '_> BitOr<&Saturating<u128>> for &Saturating<u128>
type Output = <Saturating<u128> as BitOr<Saturating<u128>>>::Output
sourceimpl<'_, '_> BitOr<&Saturating<usize>> for &Saturating<usize>
impl<'_, '_> BitOr<&Saturating<usize>> for &Saturating<usize>
type Output = <Saturating<usize> as BitOr<Saturating<usize>>>::Output
sourceimpl<'_, '_, T, A> BitOr<&BTreeSet<T, A>> for &BTreeSet<T, A> where
T: Ord + Clone,
A: Allocator + Clone,
impl<'_, '_, T, A> BitOr<&BTreeSet<T, A>> for &BTreeSet<T, A> where
T: Ord + Clone,
A: Allocator + Clone,
sourceimpl<'_, '_, T, S1, S2> BitOr<&IndexSet<T, S2>> for &IndexSet<T, S1> where
T: Eq + Hash + Clone,
S1: BuildHasher + Default,
S2: BuildHasher,
impl<'_, '_, T, S1, S2> BitOr<&IndexSet<T, S2>> for &IndexSet<T, S1> where
T: Eq + Hash + Clone,
S1: BuildHasher + Default,
S2: BuildHasher,
sourceimpl<'_, '_, T, S> BitOr<&HashSet<T, S>> for &otter_nodejs_tests::HashSet<T, S> where
T: Eq + Hash + Clone,
S: BuildHasher + Default,
impl<'_, '_, T, S> BitOr<&HashSet<T, S>> for &otter_nodejs_tests::HashSet<T, S> where
T: Eq + Hash + Clone,
S: BuildHasher + Default,
impl<'_, '_, T, S, A> BitOr<&HashSet<T, S, A>> for &HashSet<T, S, A> where
T: Eq + Hash + Clone,
S: BuildHasher + Default,
A: Allocator + Clone,
impl<'_, '_, T, S, A> BitOr<&HashSet<T, S, A>> for &HashSet<T, S, A> where
T: Eq + Hash + Clone,
S: BuildHasher + Default,
A: Allocator + Clone,
type Output = HashSet<T, S, Global>
sourceimpl<'_, T, const LANES: usize> BitOr<&Simd<T, LANES>> for Simd<T, LANES> where
T: SimdElement,
Simd<T, LANES>: BitOr<Simd<T, LANES>>,
LaneCount<LANES>: SupportedLaneCount,
<Simd<T, LANES> as BitOr<Simd<T, LANES>>>::Output == Simd<T, LANES>,
impl<'_, T, const LANES: usize> BitOr<&Simd<T, LANES>> for Simd<T, LANES> where
T: SimdElement,
Simd<T, LANES>: BitOr<Simd<T, LANES>>,
LaneCount<LANES>: SupportedLaneCount,
<Simd<T, LANES> as BitOr<Simd<T, LANES>>>::Output == Simd<T, LANES>,
sourceimpl<'_, T, const LANES: usize> BitOr<Simd<T, LANES>> for &Simd<T, LANES> where
T: SimdElement,
Simd<T, LANES>: BitOr<Simd<T, LANES>>,
LaneCount<LANES>: SupportedLaneCount,
<Simd<T, LANES> as BitOr<Simd<T, LANES>>>::Output == Simd<T, LANES>,
impl<'_, T, const LANES: usize> BitOr<Simd<T, LANES>> for &Simd<T, LANES> where
T: SimdElement,
Simd<T, LANES>: BitOr<Simd<T, LANES>>,
LaneCount<LANES>: SupportedLaneCount,
<Simd<T, LANES> as BitOr<Simd<T, LANES>>>::Output == Simd<T, LANES>,
sourceimpl<'a> BitOr<Saturating<i8>> for &'a Saturating<i8>
impl<'a> BitOr<Saturating<i8>> for &'a Saturating<i8>
type Output = <Saturating<i8> as BitOr<Saturating<i8>>>::Output
sourceimpl<'a> BitOr<Saturating<i16>> for &'a Saturating<i16>
impl<'a> BitOr<Saturating<i16>> for &'a Saturating<i16>
type Output = <Saturating<i16> as BitOr<Saturating<i16>>>::Output
sourceimpl<'a> BitOr<Saturating<i32>> for &'a Saturating<i32>
impl<'a> BitOr<Saturating<i32>> for &'a Saturating<i32>
type Output = <Saturating<i32> as BitOr<Saturating<i32>>>::Output
sourceimpl<'a> BitOr<Saturating<i64>> for &'a Saturating<i64>
impl<'a> BitOr<Saturating<i64>> for &'a Saturating<i64>
type Output = <Saturating<i64> as BitOr<Saturating<i64>>>::Output
sourceimpl<'a> BitOr<Saturating<i128>> for &'a Saturating<i128>
impl<'a> BitOr<Saturating<i128>> for &'a Saturating<i128>
type Output = <Saturating<i128> as BitOr<Saturating<i128>>>::Output
sourceimpl<'a> BitOr<Saturating<isize>> for &'a Saturating<isize>
impl<'a> BitOr<Saturating<isize>> for &'a Saturating<isize>
type Output = <Saturating<isize> as BitOr<Saturating<isize>>>::Output
sourceimpl<'a> BitOr<Saturating<u8>> for &'a Saturating<u8>
impl<'a> BitOr<Saturating<u8>> for &'a Saturating<u8>
type Output = <Saturating<u8> as BitOr<Saturating<u8>>>::Output
sourceimpl<'a> BitOr<Saturating<u16>> for &'a Saturating<u16>
impl<'a> BitOr<Saturating<u16>> for &'a Saturating<u16>
type Output = <Saturating<u16> as BitOr<Saturating<u16>>>::Output
sourceimpl<'a> BitOr<Saturating<u32>> for &'a Saturating<u32>
impl<'a> BitOr<Saturating<u32>> for &'a Saturating<u32>
type Output = <Saturating<u32> as BitOr<Saturating<u32>>>::Output
sourceimpl<'a> BitOr<Saturating<u64>> for &'a Saturating<u64>
impl<'a> BitOr<Saturating<u64>> for &'a Saturating<u64>
type Output = <Saturating<u64> as BitOr<Saturating<u64>>>::Output
sourceimpl<'a> BitOr<Saturating<u128>> for &'a Saturating<u128>
impl<'a> BitOr<Saturating<u128>> for &'a Saturating<u128>
type Output = <Saturating<u128> as BitOr<Saturating<u128>>>::Output
sourceimpl<'a> BitOr<Saturating<usize>> for &'a Saturating<usize>
impl<'a> BitOr<Saturating<usize>> for &'a Saturating<usize>
type Output = <Saturating<usize> as BitOr<Saturating<usize>>>::Output
sourceimpl<'lhs, 'rhs, T, const LANES: usize> BitOr<&'rhs Simd<T, LANES>> for &'lhs Simd<T, LANES> where
T: SimdElement,
Simd<T, LANES>: BitOr<Simd<T, LANES>>,
LaneCount<LANES>: SupportedLaneCount,
<Simd<T, LANES> as BitOr<Simd<T, LANES>>>::Output == Simd<T, LANES>,
impl<'lhs, 'rhs, T, const LANES: usize> BitOr<&'rhs Simd<T, LANES>> for &'lhs Simd<T, LANES> where
T: SimdElement,
Simd<T, LANES>: BitOr<Simd<T, LANES>>,
LaneCount<LANES>: SupportedLaneCount,
<Simd<T, LANES> as BitOr<Simd<T, LANES>>>::Output == Simd<T, LANES>,
sourceimpl<T, const LANES: usize> BitOr<bool> for Mask<T, LANES> where
T: MaskElement,
LaneCount<LANES>: SupportedLaneCount,
impl<T, const LANES: usize> BitOr<bool> for Mask<T, LANES> where
T: MaskElement,
LaneCount<LANES>: SupportedLaneCount,
sourceimpl<T, const LANES: usize> BitOr<Mask<T, LANES>> for bool where
T: MaskElement,
LaneCount<LANES>: SupportedLaneCount,
impl<T, const LANES: usize> BitOr<Mask<T, LANES>> for bool where
T: MaskElement,
LaneCount<LANES>: SupportedLaneCount,
sourceimpl<T, const LANES: usize> BitOr<Mask<T, LANES>> for Mask<T, LANES> where
T: MaskElement,
LaneCount<LANES>: SupportedLaneCount,
impl<T, const LANES: usize> BitOr<Mask<T, LANES>> for Mask<T, LANES> where
T: MaskElement,
LaneCount<LANES>: SupportedLaneCount,
sourceimpl<Ul, Ur> BitOr<UInt<Ur, B0>> for UInt<Ul, B0> where
Ul: Unsigned + BitOr<Ur>,
Ur: Unsigned,
impl<Ul, Ur> BitOr<UInt<Ur, B0>> for UInt<Ul, B0> where
Ul: Unsigned + BitOr<Ur>,
Ur: Unsigned,
UInt<Ul, B0> | UInt<Ur, B0> = UInt<Ul | Ur, B0>
sourceimpl<Ul, Ur> BitOr<UInt<Ur, B0>> for UInt<Ul, B1> where
Ul: Unsigned + BitOr<Ur>,
Ur: Unsigned,
impl<Ul, Ur> BitOr<UInt<Ur, B0>> for UInt<Ul, B1> where
Ul: Unsigned + BitOr<Ur>,
Ur: Unsigned,
UInt<Ul, B1> | UInt<Ur, B0> = UInt<Ul | Ur, B1>
sourceimpl<Ul, Ur> BitOr<UInt<Ur, B1>> for UInt<Ul, B0> where
Ul: Unsigned + BitOr<Ur>,
Ur: Unsigned,
impl<Ul, Ur> BitOr<UInt<Ur, B1>> for UInt<Ul, B0> where
Ul: Unsigned + BitOr<Ur>,
Ur: Unsigned,
UInt<Ul, B0> | UInt<Ur, B1> = UInt<Ul | Ur, B1>
sourceimpl<Ul, Ur> BitOr<UInt<Ur, B1>> for UInt<Ul, B1> where
Ul: Unsigned + BitOr<Ur>,
Ur: Unsigned,
impl<Ul, Ur> BitOr<UInt<Ur, B1>> for UInt<Ul, B1> where
Ul: Unsigned + BitOr<Ur>,
Ur: Unsigned,
UInt<Ul, B1> | UInt<Ur, B1> = UInt<Ul | Ur, B1>