Trait core::ops::BitOr1.0.0[][src]

pub trait BitOr<Rhs = Self> {
    type Output;
    #[must_use]
    fn bitor(self, rhs: Rhs) -> Self::Output;
}

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));
Run

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);
Run

Associated Types

type Output[src]

The resulting type after applying the | operator.

Loading content...

Required methods

#[must_use]
fn bitor(self, rhs: Rhs) -> Self::Output
[src]

Performs the | operation.

Examples

assert_eq!(true | false, true);
assert_eq!(false | false, false);
assert_eq!(5u8 | 1u8, 5);
assert_eq!(5u8 | 2u8, 7);
Run
Loading content...

Implementors

impl BitOr<&'_ Wrapping<i8>> for &Wrapping<i8>1.14.0[src]

type Output = <Wrapping<i8> as BitOr<Wrapping<i8>>>::Output

fn bitor(
    self,
    other: &Wrapping<i8>
) -> <Wrapping<i8> as BitOr<Wrapping<i8>>>::Output
[src]

impl BitOr<&'_ Wrapping<i8>> for Wrapping<i8>1.14.0[src]

type Output = <Wrapping<i8> as BitOr<Wrapping<i8>>>::Output

fn bitor(
    self,
    other: &Wrapping<i8>
) -> <Wrapping<i8> as BitOr<Wrapping<i8>>>::Output
[src]

impl BitOr<&'_ Wrapping<i16>> for &Wrapping<i16>1.14.0[src]

type Output = <Wrapping<i16> as BitOr<Wrapping<i16>>>::Output

fn bitor(
    self,
    other: &Wrapping<i16>
) -> <Wrapping<i16> as BitOr<Wrapping<i16>>>::Output
[src]

impl BitOr<&'_ Wrapping<i16>> for Wrapping<i16>1.14.0[src]

type Output = <Wrapping<i16> as BitOr<Wrapping<i16>>>::Output

fn bitor(
    self,
    other: &Wrapping<i16>
) -> <Wrapping<i16> as BitOr<Wrapping<i16>>>::Output
[src]

impl BitOr<&'_ Wrapping<i32>> for &Wrapping<i32>1.14.0[src]

type Output = <Wrapping<i32> as BitOr<Wrapping<i32>>>::Output

fn bitor(
    self,
    other: &Wrapping<i32>
) -> <Wrapping<i32> as BitOr<Wrapping<i32>>>::Output
[src]

impl BitOr<&'_ Wrapping<i32>> for Wrapping<i32>1.14.0[src]

type Output = <Wrapping<i32> as BitOr<Wrapping<i32>>>::Output

fn bitor(
    self,
    other: &Wrapping<i32>
) -> <Wrapping<i32> as BitOr<Wrapping<i32>>>::Output
[src]

impl BitOr<&'_ Wrapping<i64>> for &Wrapping<i64>1.14.0[src]

type Output = <Wrapping<i64> as BitOr<Wrapping<i64>>>::Output

fn bitor(
    self,
    other: &Wrapping<i64>
) -> <Wrapping<i64> as BitOr<Wrapping<i64>>>::Output
[src]

impl BitOr<&'_ Wrapping<i64>> for Wrapping<i64>1.14.0[src]

type Output = <Wrapping<i64> as BitOr<Wrapping<i64>>>::Output

fn bitor(
    self,
    other: &Wrapping<i64>
) -> <Wrapping<i64> as BitOr<Wrapping<i64>>>::Output
[src]

impl BitOr<&'_ Wrapping<i128>> for &Wrapping<i128>1.14.0[src]

type Output = <Wrapping<i128> as BitOr<Wrapping<i128>>>::Output

fn bitor(
    self,
    other: &Wrapping<i128>
) -> <Wrapping<i128> as BitOr<Wrapping<i128>>>::Output
[src]

impl BitOr<&'_ Wrapping<i128>> for Wrapping<i128>1.14.0[src]

type Output = <Wrapping<i128> as BitOr<Wrapping<i128>>>::Output

fn bitor(
    self,
    other: &Wrapping<i128>
) -> <Wrapping<i128> as BitOr<Wrapping<i128>>>::Output
[src]

impl BitOr<&'_ Wrapping<isize>> for &Wrapping<isize>1.14.0[src]

type Output = <Wrapping<isize> as BitOr<Wrapping<isize>>>::Output

fn bitor(
    self,
    other: &Wrapping<isize>
) -> <Wrapping<isize> as BitOr<Wrapping<isize>>>::Output
[src]

impl BitOr<&'_ Wrapping<isize>> for Wrapping<isize>1.14.0[src]

type Output = <Wrapping<isize> as BitOr<Wrapping<isize>>>::Output

fn bitor(
    self,
    other: &Wrapping<isize>
) -> <Wrapping<isize> as BitOr<Wrapping<isize>>>::Output
[src]

impl BitOr<&'_ Wrapping<u8>> for &Wrapping<u8>1.14.0[src]

type Output = <Wrapping<u8> as BitOr<Wrapping<u8>>>::Output

fn bitor(
    self,
    other: &Wrapping<u8>
) -> <Wrapping<u8> as BitOr<Wrapping<u8>>>::Output
[src]

impl BitOr<&'_ Wrapping<u8>> for Wrapping<u8>1.14.0[src]

type Output = <Wrapping<u8> as BitOr<Wrapping<u8>>>::Output

fn bitor(
    self,
    other: &Wrapping<u8>
) -> <Wrapping<u8> as BitOr<Wrapping<u8>>>::Output
[src]

impl BitOr<&'_ Wrapping<u16>> for &Wrapping<u16>1.14.0[src]

type Output = <Wrapping<u16> as BitOr<Wrapping<u16>>>::Output

fn bitor(
    self,
    other: &Wrapping<u16>
) -> <Wrapping<u16> as BitOr<Wrapping<u16>>>::Output
[src]

impl BitOr<&'_ Wrapping<u16>> for Wrapping<u16>1.14.0[src]

type Output = <Wrapping<u16> as BitOr<Wrapping<u16>>>::Output

fn bitor(
    self,
    other: &Wrapping<u16>
) -> <Wrapping<u16> as BitOr<Wrapping<u16>>>::Output
[src]

impl BitOr<&'_ Wrapping<u32>> for &Wrapping<u32>1.14.0[src]

type Output = <Wrapping<u32> as BitOr<Wrapping<u32>>>::Output

fn bitor(
    self,
    other: &Wrapping<u32>
) -> <Wrapping<u32> as BitOr<Wrapping<u32>>>::Output
[src]

impl BitOr<&'_ Wrapping<u32>> for Wrapping<u32>1.14.0[src]

type Output = <Wrapping<u32> as BitOr<Wrapping<u32>>>::Output

fn bitor(
    self,
    other: &Wrapping<u32>
) -> <Wrapping<u32> as BitOr<Wrapping<u32>>>::Output
[src]

impl BitOr<&'_ Wrapping<u64>> for &Wrapping<u64>1.14.0[src]

type Output = <Wrapping<u64> as BitOr<Wrapping<u64>>>::Output

fn bitor(
    self,
    other: &Wrapping<u64>
) -> <Wrapping<u64> as BitOr<Wrapping<u64>>>::Output
[src]

impl BitOr<&'_ Wrapping<u64>> for Wrapping<u64>1.14.0[src]

type Output = <Wrapping<u64> as BitOr<Wrapping<u64>>>::Output

fn bitor(
    self,
    other: &Wrapping<u64>
) -> <Wrapping<u64> as BitOr<Wrapping<u64>>>::Output
[src]

impl BitOr<&'_ Wrapping<u128>> for &Wrapping<u128>1.14.0[src]

type Output = <Wrapping<u128> as BitOr<Wrapping<u128>>>::Output

fn bitor(
    self,
    other: &Wrapping<u128>
) -> <Wrapping<u128> as BitOr<Wrapping<u128>>>::Output
[src]

impl BitOr<&'_ Wrapping<u128>> for Wrapping<u128>1.14.0[src]

type Output = <Wrapping<u128> as BitOr<Wrapping<u128>>>::Output

fn bitor(
    self,
    other: &Wrapping<u128>
) -> <Wrapping<u128> as BitOr<Wrapping<u128>>>::Output
[src]

impl BitOr<&'_ Wrapping<usize>> for &Wrapping<usize>1.14.0[src]

type Output = <Wrapping<usize> as BitOr<Wrapping<usize>>>::Output

fn bitor(
    self,
    other: &Wrapping<usize>
) -> <Wrapping<usize> as BitOr<Wrapping<usize>>>::Output
[src]

impl BitOr<&'_ Wrapping<usize>> for Wrapping<usize>1.14.0[src]

type Output = <Wrapping<usize> as BitOr<Wrapping<usize>>>::Output

fn bitor(
    self,
    other: &Wrapping<usize>
) -> <Wrapping<usize> as BitOr<Wrapping<usize>>>::Output
[src]

impl BitOr<&'_ bool> for &bool[src]

type Output = <bool as BitOr<bool>>::Output

fn bitor(self, other: &bool) -> <bool as BitOr<bool>>::Output[src]

impl BitOr<&'_ bool> for bool[src]

type Output = <bool as BitOr<bool>>::Output

fn bitor(self, other: &bool) -> <bool as BitOr<bool>>::Output[src]

impl BitOr<&'_ i8> for &i8[src]

type Output = <i8 as BitOr<i8>>::Output

fn bitor(self, other: &i8) -> <i8 as BitOr<i8>>::Output[src]

impl BitOr<&'_ i8> for i8[src]

type Output = <i8 as BitOr<i8>>::Output

fn bitor(self, other: &i8) -> <i8 as BitOr<i8>>::Output[src]

impl BitOr<&'_ i16> for &i16[src]

type Output = <i16 as BitOr<i16>>::Output

fn bitor(self, other: &i16) -> <i16 as BitOr<i16>>::Output[src]

impl BitOr<&'_ i16> for i16[src]

type Output = <i16 as BitOr<i16>>::Output

fn bitor(self, other: &i16) -> <i16 as BitOr<i16>>::Output[src]

impl BitOr<&'_ i32> for &i32[src]

type Output = <i32 as BitOr<i32>>::Output

fn bitor(self, other: &i32) -> <i32 as BitOr<i32>>::Output[src]

impl BitOr<&'_ i32> for i32[src]

type Output = <i32 as BitOr<i32>>::Output

fn bitor(self, other: &i32) -> <i32 as BitOr<i32>>::Output[src]

impl BitOr<&'_ i64> for &i64[src]

type Output = <i64 as BitOr<i64>>::Output

fn bitor(self, other: &i64) -> <i64 as BitOr<i64>>::Output[src]

impl BitOr<&'_ i64> for i64[src]

type Output = <i64 as BitOr<i64>>::Output

fn bitor(self, other: &i64) -> <i64 as BitOr<i64>>::Output[src]

impl BitOr<&'_ i128> for &i128[src]

type Output = <i128 as BitOr<i128>>::Output

fn bitor(self, other: &i128) -> <i128 as BitOr<i128>>::Output[src]

impl BitOr<&'_ i128> for i128[src]

type Output = <i128 as BitOr<i128>>::Output

fn bitor(self, other: &i128) -> <i128 as BitOr<i128>>::Output[src]

impl BitOr<&'_ isize> for &isize[src]

type Output = <isize as BitOr<isize>>::Output

fn bitor(self, other: &isize) -> <isize as BitOr<isize>>::Output[src]

impl BitOr<&'_ isize> for isize[src]

type Output = <isize as BitOr<isize>>::Output

fn bitor(self, other: &isize) -> <isize as BitOr<isize>>::Output[src]

impl BitOr<&'_ u8> for &u8[src]

type Output = <u8 as BitOr<u8>>::Output

fn bitor(self, other: &u8) -> <u8 as BitOr<u8>>::Output[src]

impl BitOr<&'_ u8> for u8[src]

type Output = <u8 as BitOr<u8>>::Output

fn bitor(self, other: &u8) -> <u8 as BitOr<u8>>::Output[src]

impl BitOr<&'_ u16> for &u16[src]

type Output = <u16 as BitOr<u16>>::Output

fn bitor(self, other: &u16) -> <u16 as BitOr<u16>>::Output[src]

impl BitOr<&'_ u16> for u16[src]

type Output = <u16 as BitOr<u16>>::Output

fn bitor(self, other: &u16) -> <u16 as BitOr<u16>>::Output[src]

impl BitOr<&'_ u32> for &u32[src]

type Output = <u32 as BitOr<u32>>::Output

fn bitor(self, other: &u32) -> <u32 as BitOr<u32>>::Output[src]

impl BitOr<&'_ u32> for u32[src]

type Output = <u32 as BitOr<u32>>::Output

fn bitor(self, other: &u32) -> <u32 as BitOr<u32>>::Output[src]

impl BitOr<&'_ u64> for &u64[src]

type Output = <u64 as BitOr<u64>>::Output

fn bitor(self, other: &u64) -> <u64 as BitOr<u64>>::Output[src]

impl BitOr<&'_ u64> for u64[src]

type Output = <u64 as BitOr<u64>>::Output

fn bitor(self, other: &u64) -> <u64 as BitOr<u64>>::Output[src]

impl BitOr<&'_ u128> for &u128[src]

type Output = <u128 as BitOr<u128>>::Output

fn bitor(self, other: &u128) -> <u128 as BitOr<u128>>::Output[src]

impl BitOr<&'_ u128> for u128[src]

type Output = <u128 as BitOr<u128>>::Output

fn bitor(self, other: &u128) -> <u128 as BitOr<u128>>::Output[src]

impl BitOr<&'_ usize> for &usize[src]

type Output = <usize as BitOr<usize>>::Output

fn bitor(self, other: &usize) -> <usize as BitOr<usize>>::Output[src]

impl BitOr<&'_ usize> for usize[src]

type Output = <usize as BitOr<usize>>::Output

fn bitor(self, other: &usize) -> <usize as BitOr<usize>>::Output[src]

impl BitOr<NonZeroI8> for NonZeroI81.45.0[src]

type Output = Self

fn bitor(self, rhs: Self) -> Self::Output[src]

impl BitOr<NonZeroI8> for i81.45.0[src]

type Output = NonZeroI8

fn bitor(self, rhs: NonZeroI8) -> Self::Output[src]

impl BitOr<NonZeroI16> for NonZeroI161.45.0[src]

type Output = Self

fn bitor(self, rhs: Self) -> Self::Output[src]

impl BitOr<NonZeroI16> for i161.45.0[src]

type Output = NonZeroI16

fn bitor(self, rhs: NonZeroI16) -> Self::Output[src]

impl BitOr<NonZeroI32> for NonZeroI321.45.0[src]

type Output = Self

fn bitor(self, rhs: Self) -> Self::Output[src]

impl BitOr<NonZeroI32> for i321.45.0[src]

type Output = NonZeroI32

fn bitor(self, rhs: NonZeroI32) -> Self::Output[src]

impl BitOr<NonZeroI64> for NonZeroI641.45.0[src]

type Output = Self

fn bitor(self, rhs: Self) -> Self::Output[src]

impl BitOr<NonZeroI64> for i641.45.0[src]

type Output = NonZeroI64

fn bitor(self, rhs: NonZeroI64) -> Self::Output[src]

impl BitOr<NonZeroI128> for NonZeroI1281.45.0[src]

type Output = Self

fn bitor(self, rhs: Self) -> Self::Output[src]

impl BitOr<NonZeroI128> for i1281.45.0[src]

type Output = NonZeroI128

fn bitor(self, rhs: NonZeroI128) -> Self::Output[src]

impl BitOr<NonZeroIsize> for NonZeroIsize1.45.0[src]

type Output = Self

fn bitor(self, rhs: Self) -> Self::Output[src]

impl BitOr<NonZeroIsize> for isize1.45.0[src]

type Output = NonZeroIsize

fn bitor(self, rhs: NonZeroIsize) -> Self::Output[src]

impl BitOr<NonZeroU8> for NonZeroU81.45.0[src]

type Output = Self

fn bitor(self, rhs: Self) -> Self::Output[src]

impl BitOr<NonZeroU8> for u81.45.0[src]

type Output = NonZeroU8

fn bitor(self, rhs: NonZeroU8) -> Self::Output[src]

impl BitOr<NonZeroU16> for NonZeroU161.45.0[src]

type Output = Self

fn bitor(self, rhs: Self) -> Self::Output[src]

impl BitOr<NonZeroU16> for u161.45.0[src]

type Output = NonZeroU16

fn bitor(self, rhs: NonZeroU16) -> Self::Output[src]

impl BitOr<NonZeroU32> for NonZeroU321.45.0[src]

type Output = Self

fn bitor(self, rhs: Self) -> Self::Output[src]

impl BitOr<NonZeroU32> for u321.45.0[src]

type Output = NonZeroU32

fn bitor(self, rhs: NonZeroU32) -> Self::Output[src]

impl BitOr<NonZeroU64> for NonZeroU641.45.0[src]

type Output = Self

fn bitor(self, rhs: Self) -> Self::Output[src]

impl BitOr<NonZeroU64> for u641.45.0[src]

type Output = NonZeroU64

fn bitor(self, rhs: NonZeroU64) -> Self::Output[src]

impl BitOr<NonZeroU128> for NonZeroU1281.45.0[src]

type Output = Self

fn bitor(self, rhs: Self) -> Self::Output[src]

impl BitOr<NonZeroU128> for u1281.45.0[src]

type Output = NonZeroU128

fn bitor(self, rhs: NonZeroU128) -> Self::Output[src]

impl BitOr<NonZeroUsize> for NonZeroUsize1.45.0[src]

type Output = Self

fn bitor(self, rhs: Self) -> Self::Output[src]

impl BitOr<NonZeroUsize> for usize1.45.0[src]

type Output = NonZeroUsize

fn bitor(self, rhs: NonZeroUsize) -> Self::Output[src]

impl BitOr<Wrapping<i8>> for Wrapping<i8>[src]

type Output = Wrapping<i8>

fn bitor(self, other: Wrapping<i8>) -> Wrapping<i8>[src]

impl BitOr<Wrapping<i16>> for Wrapping<i16>[src]

type Output = Wrapping<i16>

fn bitor(self, other: Wrapping<i16>) -> Wrapping<i16>[src]

impl BitOr<Wrapping<i32>> for Wrapping<i32>[src]

type Output = Wrapping<i32>

fn bitor(self, other: Wrapping<i32>) -> Wrapping<i32>[src]

impl BitOr<Wrapping<i64>> for Wrapping<i64>[src]

type Output = Wrapping<i64>

fn bitor(self, other: Wrapping<i64>) -> Wrapping<i64>[src]

impl BitOr<Wrapping<i128>> for Wrapping<i128>[src]

type Output = Wrapping<i128>

fn bitor(self, other: Wrapping<i128>) -> Wrapping<i128>[src]

impl BitOr<Wrapping<isize>> for Wrapping<isize>[src]

type Output = Wrapping<isize>

fn bitor(self, other: Wrapping<isize>) -> Wrapping<isize>[src]

impl BitOr<Wrapping<u8>> for Wrapping<u8>[src]

type Output = Wrapping<u8>

fn bitor(self, other: Wrapping<u8>) -> Wrapping<u8>[src]

impl BitOr<Wrapping<u16>> for Wrapping<u16>[src]

type Output = Wrapping<u16>

fn bitor(self, other: Wrapping<u16>) -> Wrapping<u16>[src]

impl BitOr<Wrapping<u32>> for Wrapping<u32>[src]

type Output = Wrapping<u32>

fn bitor(self, other: Wrapping<u32>) -> Wrapping<u32>[src]

impl BitOr<Wrapping<u64>> for Wrapping<u64>[src]

type Output = Wrapping<u64>

fn bitor(self, other: Wrapping<u64>) -> Wrapping<u64>[src]

impl BitOr<Wrapping<u128>> for Wrapping<u128>[src]

type Output = Wrapping<u128>

fn bitor(self, other: Wrapping<u128>) -> Wrapping<u128>[src]

impl BitOr<Wrapping<usize>> for Wrapping<usize>[src]

type Output = Wrapping<usize>

fn bitor(self, other: Wrapping<usize>) -> Wrapping<usize>[src]

impl BitOr<bool> for bool[src]

type Output = bool

fn bitor(self, rhs: bool) -> bool[src]

impl BitOr<i8> for NonZeroI81.45.0[src]

type Output = Self

fn bitor(self, rhs: i8) -> Self::Output[src]

impl BitOr<i8> for i8[src]

type Output = i8

fn bitor(self, rhs: i8) -> i8[src]

impl BitOr<i16> for NonZeroI161.45.0[src]

type Output = Self

fn bitor(self, rhs: i16) -> Self::Output[src]

impl BitOr<i16> for i16[src]

type Output = i16

fn bitor(self, rhs: i16) -> i16[src]

impl BitOr<i32> for NonZeroI321.45.0[src]

type Output = Self

fn bitor(self, rhs: i32) -> Self::Output[src]

impl BitOr<i32> for i32[src]

type Output = i32

fn bitor(self, rhs: i32) -> i32[src]

impl BitOr<i64> for NonZeroI641.45.0[src]

type Output = Self

fn bitor(self, rhs: i64) -> Self::Output[src]

impl BitOr<i64> for i64[src]

type Output = i64

fn bitor(self, rhs: i64) -> i64[src]

impl BitOr<i128> for NonZeroI1281.45.0[src]

type Output = Self

fn bitor(self, rhs: i128) -> Self::Output[src]

impl BitOr<i128> for i128[src]

type Output = i128

fn bitor(self, rhs: i128) -> i128[src]

impl BitOr<isize> for NonZeroIsize1.45.0[src]

type Output = Self

fn bitor(self, rhs: isize) -> Self::Output[src]

impl BitOr<isize> for isize[src]

type Output = isize

fn bitor(self, rhs: isize) -> isize[src]

impl BitOr<u8> for NonZeroU81.45.0[src]

type Output = Self

fn bitor(self, rhs: u8) -> Self::Output[src]

impl BitOr<u8> for u8[src]

type Output = u8

fn bitor(self, rhs: u8) -> u8[src]

impl BitOr<u16> for NonZeroU161.45.0[src]

type Output = Self

fn bitor(self, rhs: u16) -> Self::Output[src]

impl BitOr<u16> for u16[src]

type Output = u16

fn bitor(self, rhs: u16) -> u16[src]

impl BitOr<u32> for NonZeroU321.45.0[src]

type Output = Self

fn bitor(self, rhs: u32) -> Self::Output[src]

impl BitOr<u32> for u32[src]

type Output = u32

fn bitor(self, rhs: u32) -> u32[src]

impl BitOr<u64> for NonZeroU641.45.0[src]

type Output = Self

fn bitor(self, rhs: u64) -> Self::Output[src]

impl BitOr<u64> for u64[src]

type Output = u64

fn bitor(self, rhs: u64) -> u64[src]

impl BitOr<u128> for NonZeroU1281.45.0[src]

type Output = Self

fn bitor(self, rhs: u128) -> Self::Output[src]

impl BitOr<u128> for u128[src]

type Output = u128

fn bitor(self, rhs: u128) -> u128[src]

impl BitOr<usize> for NonZeroUsize1.45.0[src]

type Output = Self

fn bitor(self, rhs: usize) -> Self::Output[src]

impl BitOr<usize> for usize[src]

type Output = usize

fn bitor(self, rhs: usize) -> usize[src]

impl<'a> BitOr<Wrapping<i8>> for &'a Wrapping<i8>1.14.0[src]

type Output = <Wrapping<i8> as BitOr<Wrapping<i8>>>::Output

fn bitor(
    self,
    other: Wrapping<i8>
) -> <Wrapping<i8> as BitOr<Wrapping<i8>>>::Output
[src]

impl<'a> BitOr<Wrapping<i16>> for &'a Wrapping<i16>1.14.0[src]

type Output = <Wrapping<i16> as BitOr<Wrapping<i16>>>::Output

fn bitor(
    self,
    other: Wrapping<i16>
) -> <Wrapping<i16> as BitOr<Wrapping<i16>>>::Output
[src]

impl<'a> BitOr<Wrapping<i32>> for &'a Wrapping<i32>1.14.0[src]

type Output = <Wrapping<i32> as BitOr<Wrapping<i32>>>::Output

fn bitor(
    self,
    other: Wrapping<i32>
) -> <Wrapping<i32> as BitOr<Wrapping<i32>>>::Output
[src]

impl<'a> BitOr<Wrapping<i64>> for &'a Wrapping<i64>1.14.0[src]

type Output = <Wrapping<i64> as BitOr<Wrapping<i64>>>::Output

fn bitor(
    self,
    other: Wrapping<i64>
) -> <Wrapping<i64> as BitOr<Wrapping<i64>>>::Output
[src]

impl<'a> BitOr<Wrapping<i128>> for &'a Wrapping<i128>1.14.0[src]

type Output = <Wrapping<i128> as BitOr<Wrapping<i128>>>::Output

fn bitor(
    self,
    other: Wrapping<i128>
) -> <Wrapping<i128> as BitOr<Wrapping<i128>>>::Output
[src]

impl<'a> BitOr<Wrapping<isize>> for &'a Wrapping<isize>1.14.0[src]

type Output = <Wrapping<isize> as BitOr<Wrapping<isize>>>::Output

fn bitor(
    self,
    other: Wrapping<isize>
) -> <Wrapping<isize> as BitOr<Wrapping<isize>>>::Output
[src]

impl<'a> BitOr<Wrapping<u8>> for &'a Wrapping<u8>1.14.0[src]

type Output = <Wrapping<u8> as BitOr<Wrapping<u8>>>::Output

fn bitor(
    self,
    other: Wrapping<u8>
) -> <Wrapping<u8> as BitOr<Wrapping<u8>>>::Output
[src]

impl<'a> BitOr<Wrapping<u16>> for &'a Wrapping<u16>1.14.0[src]

type Output = <Wrapping<u16> as BitOr<Wrapping<u16>>>::Output

fn bitor(
    self,
    other: Wrapping<u16>
) -> <Wrapping<u16> as BitOr<Wrapping<u16>>>::Output
[src]

impl<'a> BitOr<Wrapping<u32>> for &'a Wrapping<u32>1.14.0[src]

type Output = <Wrapping<u32> as BitOr<Wrapping<u32>>>::Output

fn bitor(
    self,
    other: Wrapping<u32>
) -> <Wrapping<u32> as BitOr<Wrapping<u32>>>::Output
[src]

impl<'a> BitOr<Wrapping<u64>> for &'a Wrapping<u64>1.14.0[src]

type Output = <Wrapping<u64> as BitOr<Wrapping<u64>>>::Output

fn bitor(
    self,
    other: Wrapping<u64>
) -> <Wrapping<u64> as BitOr<Wrapping<u64>>>::Output
[src]

impl<'a> BitOr<Wrapping<u128>> for &'a Wrapping<u128>1.14.0[src]

type Output = <Wrapping<u128> as BitOr<Wrapping<u128>>>::Output

fn bitor(
    self,
    other: Wrapping<u128>
) -> <Wrapping<u128> as BitOr<Wrapping<u128>>>::Output
[src]

impl<'a> BitOr<Wrapping<usize>> for &'a Wrapping<usize>1.14.0[src]

type Output = <Wrapping<usize> as BitOr<Wrapping<usize>>>::Output

fn bitor(
    self,
    other: Wrapping<usize>
) -> <Wrapping<usize> as BitOr<Wrapping<usize>>>::Output
[src]

impl<'a> BitOr<bool> for &'a bool[src]

type Output = <bool as BitOr<bool>>::Output

fn bitor(self, other: bool) -> <bool as BitOr<bool>>::Output[src]

impl<'a> BitOr<i8> for &'a i8[src]

type Output = <i8 as BitOr<i8>>::Output

fn bitor(self, other: i8) -> <i8 as BitOr<i8>>::Output[src]

impl<'a> BitOr<i16> for &'a i16[src]

type Output = <i16 as BitOr<i16>>::Output

fn bitor(self, other: i16) -> <i16 as BitOr<i16>>::Output[src]

impl<'a> BitOr<i32> for &'a i32[src]

type Output = <i32 as BitOr<i32>>::Output

fn bitor(self, other: i32) -> <i32 as BitOr<i32>>::Output[src]

impl<'a> BitOr<i64> for &'a i64[src]

type Output = <i64 as BitOr<i64>>::Output

fn bitor(self, other: i64) -> <i64 as BitOr<i64>>::Output[src]

impl<'a> BitOr<i128> for &'a i128[src]

type Output = <i128 as BitOr<i128>>::Output

fn bitor(self, other: i128) -> <i128 as BitOr<i128>>::Output[src]

impl<'a> BitOr<isize> for &'a isize[src]

type Output = <isize as BitOr<isize>>::Output

fn bitor(self, other: isize) -> <isize as BitOr<isize>>::Output[src]

impl<'a> BitOr<u8> for &'a u8[src]

type Output = <u8 as BitOr<u8>>::Output

fn bitor(self, other: u8) -> <u8 as BitOr<u8>>::Output[src]

impl<'a> BitOr<u16> for &'a u16[src]

type Output = <u16 as BitOr<u16>>::Output

fn bitor(self, other: u16) -> <u16 as BitOr<u16>>::Output[src]

impl<'a> BitOr<u32> for &'a u32[src]

type Output = <u32 as BitOr<u32>>::Output

fn bitor(self, other: u32) -> <u32 as BitOr<u32>>::Output[src]

impl<'a> BitOr<u64> for &'a u64[src]

type Output = <u64 as BitOr<u64>>::Output

fn bitor(self, other: u64) -> <u64 as BitOr<u64>>::Output[src]

impl<'a> BitOr<u128> for &'a u128[src]

type Output = <u128 as BitOr<u128>>::Output

fn bitor(self, other: u128) -> <u128 as BitOr<u128>>::Output[src]

impl<'a> BitOr<usize> for &'a usize[src]

type Output = <usize as BitOr<usize>>::Output

fn bitor(self, other: usize) -> <usize as BitOr<usize>>::Output[src]

Loading content...