Shl

Trait Shl 

1.6.0 (const: unstable) · Source
pub trait Shl<Rhs = Self> {
    type Output;

    // Required method
    fn shl(self, rhs: Rhs) -> Self::Output;
}
Expand description

The left shift operator <<. Note that because this trait is implemented for all integer types with multiple right-hand-side types, Rust’s type checker has special handling for _ << _, setting the result type for integer operations to the type of the left-hand-side operand. This means that though a << b and a.shl(b) are one and the same from an evaluation standpoint, they are different when it comes to type inference.

§Examples

An implementation of Shl that lifts the << operation on integers to a wrapper around usize.

use std::ops::Shl;

#[derive(PartialEq, Debug)]
struct Scalar(usize);

impl Shl<Scalar> for Scalar {
    type Output = Self;

    fn shl(self, Self(rhs): Self) -> Self::Output {
        let Self(lhs) = self;
        Self(lhs << rhs)
    }
}

assert_eq!(Scalar(4) << Scalar(2), Scalar(16));

An implementation of Shl that spins a vector leftward by a given amount.

use std::ops::Shl;

#[derive(PartialEq, Debug)]
struct SpinVector<T: Clone> {
    vec: Vec<T>,
}

impl<T: Clone> Shl<usize> for SpinVector<T> {
    type Output = Self;

    fn shl(self, rhs: usize) -> Self::Output {
        // Rotate the vector by `rhs` places.
        let (a, b) = self.vec.split_at(rhs);
        let mut spun_vector = vec![];
        spun_vector.extend_from_slice(b);
        spun_vector.extend_from_slice(a);
        Self { vec: spun_vector }
    }
}

assert_eq!(SpinVector { vec: vec![0, 1, 2, 3, 4] } << 2,
           SpinVector { vec: vec![2, 3, 4, 0, 1] });

Required Associated Types§

1.0.0 · Source

type Output

The resulting type after applying the << operator.

Required Methods§

1.0.0 · Source

fn shl(self, rhs: Rhs) -> Self::Output

Performs the << operation.

§Examples
assert_eq!(5u8 << 1, 10);
assert_eq!(1u8 << 1, 2);

Implementors§

1.0.0 (const: unstable) · Source§

impl Shl for i8

1.0.0 (const: unstable) · Source§

impl Shl for i16

1.0.0 (const: unstable) · Source§

impl Shl for i32

1.0.0 (const: unstable) · Source§

impl Shl for i64

1.0.0 (const: unstable) · Source§

impl Shl for i128

1.0.0 (const: unstable) · Source§

impl Shl for isize

1.0.0 (const: unstable) · Source§

impl Shl for u8

1.0.0 (const: unstable) · Source§

impl Shl for u16

1.0.0 (const: unstable) · Source§

impl Shl for u32

1.0.0 (const: unstable) · Source§

impl Shl for u64

1.0.0 (const: unstable) · Source§

impl Shl for u128

1.0.0 (const: unstable) · Source§

impl Shl for usize

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for &u8

Source§

type Output = <u8 as Shl<i8>>::Output

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for i8

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for i16

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for i32

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for i64

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for i128

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for isize

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for u8

Source§

type Output = <u8 as Shl<i8>>::Output

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for u16

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for u32

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for u64

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for u128

1.0.0 (const: unstable) · Source§

impl Shl<&i8> for usize

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for i8

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for i16

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for i32

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for i64

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for i128

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for isize

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for u8

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for u16

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for u32

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for u64

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for u128

1.0.0 (const: unstable) · Source§

impl Shl<&i16> for usize

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for i8

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for i16

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for i32

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for i64

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for i128

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for isize

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for u8

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for u16

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for u32

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for u64

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for u128

1.0.0 (const: unstable) · Source§

impl Shl<&i32> for usize

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for i8

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for i16

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for i32

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for i64

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for i128

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for isize

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for u8

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for u16

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for u32

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for u64

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for u128

1.0.0 (const: unstable) · Source§

impl Shl<&i64> for usize

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for i8

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for i16

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for i32

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for i64

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for i128

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for isize

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for u8

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for u16

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for u32

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for u64

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for u128

1.0.0 (const: unstable) · Source§

impl Shl<&i128> for usize

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for i8

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for i16

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for i32

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for i64

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for i128

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for isize

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for u8

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for u16

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for u32

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for u64

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for u128

1.0.0 (const: unstable) · Source§

impl Shl<&isize> for usize

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for &i8

Source§

type Output = <i8 as Shl<u8>>::Output

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for i8

Source§

type Output = <i8 as Shl<u8>>::Output

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for i16

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for i32

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for i64

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for i128

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for isize

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for u8

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for u16

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for u32

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for u64

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for u128

1.0.0 (const: unstable) · Source§

impl Shl<&u8> for usize

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for i8

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for i16

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for i32

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for i64

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for i128

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for isize

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for u8

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for u16

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for u32

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for u64

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for u128

1.0.0 (const: unstable) · Source§

impl Shl<&u16> for usize

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for i8

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for i16

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for i32

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for i64

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for i128

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for isize

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for u8

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for u16

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for u32

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for u64

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for u128

1.0.0 (const: unstable) · Source§

impl Shl<&u32> for usize

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for i8

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for i16

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for i32

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for i64

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for i128

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for isize

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for u8

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for u16

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for u32

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for u64

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for u128

1.0.0 (const: unstable) · Source§

impl Shl<&u64> for usize

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for i8

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for i16

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for i32

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for i64

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for i128

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for isize

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for u8

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for u16

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for u32

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for u64

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for u128

1.0.0 (const: unstable) · Source§

impl Shl<&u128> for usize

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for i8

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for i16

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for i32

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for i64

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for i128

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for isize

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for u8

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for u16

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for u32

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for u64

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for u128

1.0.0 (const: unstable) · Source§

impl Shl<&usize> for usize

1.0.0 (const: unstable) · Source§

impl Shl<i8> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<i8> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<i8> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<i8> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<i8> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<i8> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<i8> for &u8

Source§

type Output = <u8 as Shl<i8>>::Output

1.0.0 (const: unstable) · Source§

impl Shl<i8> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<i8> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<i8> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<i8> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<i8> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<i8> for i16

1.0.0 (const: unstable) · Source§

impl Shl<i8> for i32

1.0.0 (const: unstable) · Source§

impl Shl<i8> for i64

1.0.0 (const: unstable) · Source§

impl Shl<i8> for i128

1.0.0 (const: unstable) · Source§

impl Shl<i8> for isize

1.0.0 (const: unstable) · Source§

impl Shl<i8> for u8

1.0.0 (const: unstable) · Source§

impl Shl<i8> for u16

1.0.0 (const: unstable) · Source§

impl Shl<i8> for u32

1.0.0 (const: unstable) · Source§

impl Shl<i8> for u64

1.0.0 (const: unstable) · Source§

impl Shl<i8> for u128

1.0.0 (const: unstable) · Source§

impl Shl<i8> for usize

1.0.0 (const: unstable) · Source§

impl Shl<i16> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<i16> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<i16> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<i16> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<i16> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<i16> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<i16> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<i16> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<i16> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<i16> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<i16> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<i16> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<i16> for i8

1.0.0 (const: unstable) · Source§

impl Shl<i16> for i32

1.0.0 (const: unstable) · Source§

impl Shl<i16> for i64

1.0.0 (const: unstable) · Source§

impl Shl<i16> for i128

1.0.0 (const: unstable) · Source§

impl Shl<i16> for isize

1.0.0 (const: unstable) · Source§

impl Shl<i16> for u8

1.0.0 (const: unstable) · Source§

impl Shl<i16> for u16

1.0.0 (const: unstable) · Source§

impl Shl<i16> for u32

1.0.0 (const: unstable) · Source§

impl Shl<i16> for u64

1.0.0 (const: unstable) · Source§

impl Shl<i16> for u128

1.0.0 (const: unstable) · Source§

impl Shl<i16> for usize

1.0.0 (const: unstable) · Source§

impl Shl<i32> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<i32> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<i32> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<i32> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<i32> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<i32> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<i32> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<i32> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<i32> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<i32> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<i32> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<i32> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<i32> for i8

1.0.0 (const: unstable) · Source§

impl Shl<i32> for i16

1.0.0 (const: unstable) · Source§

impl Shl<i32> for i64

1.0.0 (const: unstable) · Source§

impl Shl<i32> for i128

1.0.0 (const: unstable) · Source§

impl Shl<i32> for isize

1.0.0 (const: unstable) · Source§

impl Shl<i32> for u8

1.0.0 (const: unstable) · Source§

impl Shl<i32> for u16

1.0.0 (const: unstable) · Source§

impl Shl<i32> for u32

1.0.0 (const: unstable) · Source§

impl Shl<i32> for u64

1.0.0 (const: unstable) · Source§

impl Shl<i32> for u128

1.0.0 (const: unstable) · Source§

impl Shl<i32> for usize

1.0.0 (const: unstable) · Source§

impl Shl<i64> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<i64> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<i64> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<i64> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<i64> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<i64> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<i64> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<i64> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<i64> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<i64> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<i64> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<i64> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<i64> for i8

1.0.0 (const: unstable) · Source§

impl Shl<i64> for i16

1.0.0 (const: unstable) · Source§

impl Shl<i64> for i32

1.0.0 (const: unstable) · Source§

impl Shl<i64> for i128

1.0.0 (const: unstable) · Source§

impl Shl<i64> for isize

1.0.0 (const: unstable) · Source§

impl Shl<i64> for u8

1.0.0 (const: unstable) · Source§

impl Shl<i64> for u16

1.0.0 (const: unstable) · Source§

impl Shl<i64> for u32

1.0.0 (const: unstable) · Source§

impl Shl<i64> for u64

1.0.0 (const: unstable) · Source§

impl Shl<i64> for u128

1.0.0 (const: unstable) · Source§

impl Shl<i64> for usize

1.0.0 (const: unstable) · Source§

impl Shl<i128> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<i128> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<i128> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<i128> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<i128> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<i128> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<i128> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<i128> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<i128> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<i128> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<i128> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<i128> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<i128> for i8

1.0.0 (const: unstable) · Source§

impl Shl<i128> for i16

1.0.0 (const: unstable) · Source§

impl Shl<i128> for i32

1.0.0 (const: unstable) · Source§

impl Shl<i128> for i64

1.0.0 (const: unstable) · Source§

impl Shl<i128> for isize

1.0.0 (const: unstable) · Source§

impl Shl<i128> for u8

1.0.0 (const: unstable) · Source§

impl Shl<i128> for u16

1.0.0 (const: unstable) · Source§

impl Shl<i128> for u32

1.0.0 (const: unstable) · Source§

impl Shl<i128> for u64

1.0.0 (const: unstable) · Source§

impl Shl<i128> for u128

1.0.0 (const: unstable) · Source§

impl Shl<i128> for usize

1.0.0 (const: unstable) · Source§

impl Shl<isize> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<isize> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<isize> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<isize> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<isize> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<isize> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<isize> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<isize> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<isize> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<isize> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<isize> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<isize> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<isize> for i8

1.0.0 (const: unstable) · Source§

impl Shl<isize> for i16

1.0.0 (const: unstable) · Source§

impl Shl<isize> for i32

1.0.0 (const: unstable) · Source§

impl Shl<isize> for i64

1.0.0 (const: unstable) · Source§

impl Shl<isize> for i128

1.0.0 (const: unstable) · Source§

impl Shl<isize> for u8

1.0.0 (const: unstable) · Source§

impl Shl<isize> for u16

1.0.0 (const: unstable) · Source§

impl Shl<isize> for u32

1.0.0 (const: unstable) · Source§

impl Shl<isize> for u64

1.0.0 (const: unstable) · Source§

impl Shl<isize> for u128

1.0.0 (const: unstable) · Source§

impl Shl<isize> for usize

1.0.0 (const: unstable) · Source§

impl Shl<u8> for &i8

Source§

type Output = <i8 as Shl<u8>>::Output

1.0.0 (const: unstable) · Source§

impl Shl<u8> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<u8> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<u8> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<u8> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<u8> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<u8> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<u8> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<u8> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<u8> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<u8> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<u8> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<u8> for i8

1.0.0 (const: unstable) · Source§

impl Shl<u8> for i16

1.0.0 (const: unstable) · Source§

impl Shl<u8> for i32

1.0.0 (const: unstable) · Source§

impl Shl<u8> for i64

1.0.0 (const: unstable) · Source§

impl Shl<u8> for i128

1.0.0 (const: unstable) · Source§

impl Shl<u8> for isize

1.0.0 (const: unstable) · Source§

impl Shl<u8> for u16

1.0.0 (const: unstable) · Source§

impl Shl<u8> for u32

1.0.0 (const: unstable) · Source§

impl Shl<u8> for u64

1.0.0 (const: unstable) · Source§

impl Shl<u8> for u128

1.0.0 (const: unstable) · Source§

impl Shl<u8> for usize

1.0.0 (const: unstable) · Source§

impl Shl<u16> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<u16> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<u16> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<u16> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<u16> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<u16> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<u16> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<u16> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<u16> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<u16> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<u16> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<u16> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<u16> for i8

1.0.0 (const: unstable) · Source§

impl Shl<u16> for i16

1.0.0 (const: unstable) · Source§

impl Shl<u16> for i32

1.0.0 (const: unstable) · Source§

impl Shl<u16> for i64

1.0.0 (const: unstable) · Source§

impl Shl<u16> for i128

1.0.0 (const: unstable) · Source§

impl Shl<u16> for isize

1.0.0 (const: unstable) · Source§

impl Shl<u16> for u8

1.0.0 (const: unstable) · Source§

impl Shl<u16> for u32

1.0.0 (const: unstable) · Source§

impl Shl<u16> for u64

1.0.0 (const: unstable) · Source§

impl Shl<u16> for u128

1.0.0 (const: unstable) · Source§

impl Shl<u16> for usize

1.0.0 (const: unstable) · Source§

impl Shl<u32> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<u32> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<u32> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<u32> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<u32> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<u32> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<u32> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<u32> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<u32> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<u32> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<u32> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<u32> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<u32> for i8

1.0.0 (const: unstable) · Source§

impl Shl<u32> for i16

1.0.0 (const: unstable) · Source§

impl Shl<u32> for i32

1.0.0 (const: unstable) · Source§

impl Shl<u32> for i64

1.0.0 (const: unstable) · Source§

impl Shl<u32> for i128

1.0.0 (const: unstable) · Source§

impl Shl<u32> for isize

1.0.0 (const: unstable) · Source§

impl Shl<u32> for u8

1.0.0 (const: unstable) · Source§

impl Shl<u32> for u16

1.0.0 (const: unstable) · Source§

impl Shl<u32> for u64

1.0.0 (const: unstable) · Source§

impl Shl<u32> for u128

1.0.0 (const: unstable) · Source§

impl Shl<u32> for usize

1.0.0 (const: unstable) · Source§

impl Shl<u64> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<u64> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<u64> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<u64> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<u64> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<u64> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<u64> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<u64> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<u64> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<u64> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<u64> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<u64> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<u64> for i8

1.0.0 (const: unstable) · Source§

impl Shl<u64> for i16

1.0.0 (const: unstable) · Source§

impl Shl<u64> for i32

1.0.0 (const: unstable) · Source§

impl Shl<u64> for i64

1.0.0 (const: unstable) · Source§

impl Shl<u64> for i128

1.0.0 (const: unstable) · Source§

impl Shl<u64> for isize

1.0.0 (const: unstable) · Source§

impl Shl<u64> for u8

1.0.0 (const: unstable) · Source§

impl Shl<u64> for u16

1.0.0 (const: unstable) · Source§

impl Shl<u64> for u32

1.0.0 (const: unstable) · Source§

impl Shl<u64> for u128

1.0.0 (const: unstable) · Source§

impl Shl<u64> for usize

1.0.0 (const: unstable) · Source§

impl Shl<u128> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<u128> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<u128> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<u128> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<u128> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<u128> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<u128> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<u128> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<u128> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<u128> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<u128> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<u128> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<u128> for i8

1.0.0 (const: unstable) · Source§

impl Shl<u128> for i16

1.0.0 (const: unstable) · Source§

impl Shl<u128> for i32

1.0.0 (const: unstable) · Source§

impl Shl<u128> for i64

1.0.0 (const: unstable) · Source§

impl Shl<u128> for i128

1.0.0 (const: unstable) · Source§

impl Shl<u128> for isize

1.0.0 (const: unstable) · Source§

impl Shl<u128> for u8

1.0.0 (const: unstable) · Source§

impl Shl<u128> for u16

1.0.0 (const: unstable) · Source§

impl Shl<u128> for u32

1.0.0 (const: unstable) · Source§

impl Shl<u128> for u64

1.0.0 (const: unstable) · Source§

impl Shl<u128> for usize

1.0.0 (const: unstable) · Source§

impl Shl<usize> for &i8

1.0.0 (const: unstable) · Source§

impl Shl<usize> for &i16

1.0.0 (const: unstable) · Source§

impl Shl<usize> for &i32

1.0.0 (const: unstable) · Source§

impl Shl<usize> for &i64

1.0.0 (const: unstable) · Source§

impl Shl<usize> for &i128

1.0.0 (const: unstable) · Source§

impl Shl<usize> for &isize

1.0.0 (const: unstable) · Source§

impl Shl<usize> for &u8

1.0.0 (const: unstable) · Source§

impl Shl<usize> for &u16

1.0.0 (const: unstable) · Source§

impl Shl<usize> for &u32

1.0.0 (const: unstable) · Source§

impl Shl<usize> for &u64

1.0.0 (const: unstable) · Source§

impl Shl<usize> for &u128

1.0.0 (const: unstable) · Source§

impl Shl<usize> for &usize

1.0.0 (const: unstable) · Source§

impl Shl<usize> for i8

1.0.0 (const: unstable) · Source§

impl Shl<usize> for i16

1.0.0 (const: unstable) · Source§

impl Shl<usize> for i32

1.0.0 (const: unstable) · Source§

impl Shl<usize> for i64

1.0.0 (const: unstable) · Source§

impl Shl<usize> for i128

1.0.0 (const: unstable) · Source§

impl Shl<usize> for isize

1.0.0 (const: unstable) · Source§

impl Shl<usize> for u8

1.0.0 (const: unstable) · Source§

impl Shl<usize> for u16

1.0.0 (const: unstable) · Source§

impl Shl<usize> for u32

1.0.0 (const: unstable) · Source§

impl Shl<usize> for u64

1.0.0 (const: unstable) · Source§

impl Shl<usize> for u128