Skip to main content

BitShl

Trait BitShl 

Source
pub trait BitShl<Rhs = Self> {
    type Output;

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

Required Associated Types§

Source

type Output

The resulting type after applying the << operator.

Required Methods§

Source

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

Performs the << operation.

§Examples
assert_eq!(1u8 << 1, 2);
assert_eq!(1u8 << 2, 4);
assert_eq!(4u16 << 3, 32);

Implementations on Foreign Types§

Source§

impl BitShl for Value

Source§

type Output = Value

Source§

fn op_shl(self, rhs: Value) -> Self::Output

Source§

impl BitShl for i8

Source§

type Output = i8

Source§

fn op_shl(self, rhs: i8) -> Self::Output

Source§

impl BitShl for i16

Source§

type Output = i16

Source§

fn op_shl(self, rhs: i16) -> Self::Output

Source§

impl BitShl for i32

Source§

type Output = i32

Source§

fn op_shl(self, rhs: i32) -> Self::Output

Source§

impl BitShl for i64

Source§

type Output = i64

Source§

fn op_shl(self, rhs: i64) -> Self::Output

Source§

impl BitShl for isize

Source§

type Output = isize

Source§

fn op_shl(self, rhs: isize) -> Self::Output

Source§

impl BitShl for u8

Source§

type Output = u8

Source§

fn op_shl(self, rhs: u8) -> Self::Output

Source§

impl BitShl for u16

Source§

type Output = u16

Source§

fn op_shl(self, rhs: u16) -> Self::Output

Source§

impl BitShl for u32

Source§

type Output = u32

Source§

fn op_shl(self, rhs: u32) -> Self::Output

Source§

impl BitShl for u64

Source§

type Output = u64

Source§

fn op_shl(self, rhs: u64) -> Self::Output

Source§

impl BitShl for usize

Source§

type Output = usize

Source§

fn op_shl(self, rhs: usize) -> Self::Output

Source§

impl BitShl<&&Value> for &Value

Source§

type Output = Value

Source§

fn op_shl(self, rhs: &&Value) -> Self::Output

Source§

impl BitShl<&&Value> for Value

Source§

type Output = Value

Source§

fn op_shl(self, rhs: &&Value) -> Self::Output

Source§

impl BitShl<&&Value> for i8

Source§

type Output = i64

Source§

fn op_shl(self, other: &&Value) -> Self::Output

Source§

impl BitShl<&&Value> for i16

Source§

type Output = i64

Source§

fn op_shl(self, other: &&Value) -> Self::Output

Source§

impl BitShl<&&Value> for i32

Source§

type Output = i64

Source§

fn op_shl(self, other: &&Value) -> Self::Output

Source§

impl BitShl<&&Value> for i64

Source§

type Output = i64

Source§

fn op_shl(self, other: &&Value) -> Self::Output

Source§

impl BitShl<&&Value> for isize

Source§

type Output = i64

Source§

fn op_shl(self, other: &&Value) -> Self::Output

Source§

impl BitShl<&&Value> for u8

Source§

type Output = u64

Source§

fn op_shl(self, other: &&Value) -> Self::Output

Source§

impl BitShl<&&Value> for u16

Source§

type Output = u64

Source§

fn op_shl(self, other: &&Value) -> Self::Output

Source§

impl BitShl<&&Value> for u32

Source§

type Output = u64

Source§

fn op_shl(self, other: &&Value) -> Self::Output

Source§

impl BitShl<&&Value> for u64

Source§

type Output = u64

Source§

fn op_shl(self, other: &&Value) -> Self::Output

Source§

impl BitShl<&&Value> for usize

Source§

type Output = i64

Source§

fn op_shl(self, other: &&Value) -> Self::Output

Source§

impl BitShl<&Value> for &Value

Source§

type Output = Value

Source§

fn op_shl(self, rhs: &Value) -> Self::Output

Source§

impl BitShl<&Value> for &i8

Source§

type Output = i64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for &i16

Source§

type Output = i64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for &i32

Source§

type Output = i64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for &i64

Source§

type Output = i64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for &isize

Source§

type Output = i64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for &u8

Source§

type Output = u64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for &u16

Source§

type Output = u64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for &u32

Source§

type Output = u64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for &u64

Source§

type Output = u64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for &usize

Source§

type Output = i64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for Value

Source§

type Output = Value

Source§

fn op_shl(self, rhs: &Value) -> Self::Output

Source§

impl BitShl<&Value> for i8

Source§

type Output = i64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for i16

Source§

type Output = i64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for i32

Source§

type Output = i64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for i64

Source§

type Output = i64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for isize

Source§

type Output = i64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for u8

Source§

type Output = u64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for u16

Source§

type Output = u64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for u32

Source§

type Output = u64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for u64

Source§

type Output = u64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&Value> for usize

Source§

type Output = i64

Source§

fn op_shl(self, other: &Value) -> Self::Output

Source§

impl BitShl<&i8> for &i8

Source§

type Output = i8

Source§

fn op_shl(self, rhs: &i8) -> Self::Output

Source§

impl BitShl<&i8> for Value

Source§

type Output = i64

Source§

fn op_shl(self, other: &i8) -> Self::Output

Source§

impl BitShl<&i8> for i8

Source§

type Output = i8

Source§

fn op_shl(self, rhs: &i8) -> Self::Output

Source§

impl BitShl<&i16> for &i16

Source§

type Output = i16

Source§

fn op_shl(self, rhs: &i16) -> Self::Output

Source§

impl BitShl<&i16> for Value

Source§

type Output = i64

Source§

fn op_shl(self, other: &i16) -> Self::Output

Source§

impl BitShl<&i16> for i16

Source§

type Output = i16

Source§

fn op_shl(self, rhs: &i16) -> Self::Output

Source§

impl BitShl<&i32> for &i32

Source§

type Output = i32

Source§

fn op_shl(self, rhs: &i32) -> Self::Output

Source§

impl BitShl<&i32> for Value

Source§

type Output = i64

Source§

fn op_shl(self, other: &i32) -> Self::Output

Source§

impl BitShl<&i32> for i32

Source§

type Output = i32

Source§

fn op_shl(self, rhs: &i32) -> Self::Output

Source§

impl BitShl<&i64> for &i64

Source§

type Output = i64

Source§

fn op_shl(self, rhs: &i64) -> Self::Output

Source§

impl BitShl<&i64> for Value

Source§

type Output = i64

Source§

fn op_shl(self, other: &i64) -> Self::Output

Source§

impl BitShl<&i64> for i64

Source§

type Output = i64

Source§

fn op_shl(self, rhs: &i64) -> Self::Output

Source§

impl BitShl<&isize> for &isize

Source§

type Output = isize

Source§

fn op_shl(self, rhs: &isize) -> Self::Output

Source§

impl BitShl<&isize> for Value

Source§

type Output = i64

Source§

fn op_shl(self, other: &isize) -> Self::Output

Source§

impl BitShl<&isize> for isize

Source§

type Output = isize

Source§

fn op_shl(self, rhs: &isize) -> Self::Output

Source§

impl BitShl<&u8> for &u8

Source§

type Output = u8

Source§

fn op_shl(self, rhs: &u8) -> Self::Output

Source§

impl BitShl<&u8> for Value

Source§

type Output = u64

Source§

fn op_shl(self, other: &u8) -> Self::Output

Source§

impl BitShl<&u8> for u8

Source§

type Output = u8

Source§

fn op_shl(self, rhs: &u8) -> Self::Output

Source§

impl BitShl<&u16> for &u16

Source§

type Output = u16

Source§

fn op_shl(self, rhs: &u16) -> Self::Output

Source§

impl BitShl<&u16> for Value

Source§

type Output = u64

Source§

fn op_shl(self, other: &u16) -> Self::Output

Source§

impl BitShl<&u16> for u16

Source§

type Output = u16

Source§

fn op_shl(self, rhs: &u16) -> Self::Output

Source§

impl BitShl<&u32> for &u32

Source§

type Output = u32

Source§

fn op_shl(self, rhs: &u32) -> Self::Output

Source§

impl BitShl<&u32> for Value

Source§

type Output = u64

Source§

fn op_shl(self, other: &u32) -> Self::Output

Source§

impl BitShl<&u32> for u32

Source§

type Output = u32

Source§

fn op_shl(self, rhs: &u32) -> Self::Output

Source§

impl BitShl<&u64> for &u64

Source§

type Output = u64

Source§

fn op_shl(self, rhs: &u64) -> Self::Output

Source§

impl BitShl<&u64> for Value

Source§

type Output = u64

Source§

fn op_shl(self, other: &u64) -> Self::Output

Source§

impl BitShl<&u64> for u64

Source§

type Output = u64

Source§

fn op_shl(self, rhs: &u64) -> Self::Output

Source§

impl BitShl<&usize> for &usize

Source§

type Output = usize

Source§

fn op_shl(self, rhs: &usize) -> Self::Output

Source§

impl BitShl<&usize> for Value

Source§

type Output = i64

Source§

fn op_shl(self, other: &usize) -> Self::Output

Source§

impl BitShl<&usize> for usize

Source§

type Output = usize

Source§

fn op_shl(self, rhs: &usize) -> Self::Output

Source§

impl BitShl<Value> for &Value

Source§

type Output = Value

Source§

fn op_shl(self, rhs: Value) -> Self::Output

Source§

impl BitShl<Value> for &i8

Source§

type Output = i64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for &i16

Source§

type Output = i64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for &i32

Source§

type Output = i64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for &i64

Source§

type Output = i64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for &isize

Source§

type Output = i64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for &u8

Source§

type Output = u64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for &u16

Source§

type Output = u64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for &u32

Source§

type Output = u64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for &u64

Source§

type Output = u64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for &usize

Source§

type Output = i64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for i8

Source§

type Output = i64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for i16

Source§

type Output = i64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for i32

Source§

type Output = i64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for i64

Source§

type Output = i64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for isize

Source§

type Output = i64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for u8

Source§

type Output = u64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for u16

Source§

type Output = u64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for u32

Source§

type Output = u64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for u64

Source§

type Output = u64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<Value> for usize

Source§

type Output = i64

Source§

fn op_shl(self, other: Value) -> Self::Output

Source§

impl BitShl<i8> for &i8

Source§

type Output = i8

Source§

fn op_shl(self, rhs: i8) -> Self::Output

Source§

impl BitShl<i8> for Value

Source§

type Output = i64

Source§

fn op_shl(self, other: i8) -> Self::Output

Source§

impl BitShl<i16> for &i16

Source§

type Output = i16

Source§

fn op_shl(self, rhs: i16) -> Self::Output

Source§

impl BitShl<i16> for Value

Source§

type Output = i64

Source§

fn op_shl(self, other: i16) -> Self::Output

Source§

impl BitShl<i32> for &i32

Source§

type Output = i32

Source§

fn op_shl(self, rhs: i32) -> Self::Output

Source§

impl BitShl<i32> for Value

Source§

type Output = i64

Source§

fn op_shl(self, other: i32) -> Self::Output

Source§

impl BitShl<i64> for &i64

Source§

type Output = i64

Source§

fn op_shl(self, rhs: i64) -> Self::Output

Source§

impl BitShl<i64> for Value

Source§

type Output = i64

Source§

fn op_shl(self, other: i64) -> Self::Output

Source§

impl BitShl<isize> for &isize

Source§

type Output = isize

Source§

fn op_shl(self, rhs: isize) -> Self::Output

Source§

impl BitShl<isize> for Value

Source§

type Output = i64

Source§

fn op_shl(self, other: isize) -> Self::Output

Source§

impl BitShl<u8> for &u8

Source§

type Output = u8

Source§

fn op_shl(self, rhs: u8) -> Self::Output

Source§

impl BitShl<u8> for Value

Source§

type Output = u64

Source§

fn op_shl(self, other: u8) -> Self::Output

Source§

impl BitShl<u16> for &u16

Source§

type Output = u16

Source§

fn op_shl(self, rhs: u16) -> Self::Output

Source§

impl BitShl<u16> for Value

Source§

type Output = u64

Source§

fn op_shl(self, other: u16) -> Self::Output

Source§

impl BitShl<u32> for &u32

Source§

type Output = u32

Source§

fn op_shl(self, rhs: u32) -> Self::Output

Source§

impl BitShl<u32> for Value

Source§

type Output = u64

Source§

fn op_shl(self, other: u32) -> Self::Output

Source§

impl BitShl<u64> for &u64

Source§

type Output = u64

Source§

fn op_shl(self, rhs: u64) -> Self::Output

Source§

impl BitShl<u64> for Value

Source§

type Output = u64

Source§

fn op_shl(self, other: u64) -> Self::Output

Source§

impl BitShl<usize> for &usize

Source§

type Output = usize

Source§

fn op_shl(self, rhs: usize) -> Self::Output

Source§

impl BitShl<usize> for Value

Source§

type Output = i64

Source§

fn op_shl(self, other: usize) -> Self::Output

Source§

impl<'a> BitShl<&i8> for &'a Value

Source§

type Output = i64

Source§

fn op_shl(self, other: &i8) -> Self::Output

Source§

impl<'a> BitShl<&i16> for &'a Value

Source§

type Output = i64

Source§

fn op_shl(self, other: &i16) -> Self::Output

Source§

impl<'a> BitShl<&i32> for &'a Value

Source§

type Output = i64

Source§

fn op_shl(self, other: &i32) -> Self::Output

Source§

impl<'a> BitShl<&i64> for &'a Value

Source§

type Output = i64

Source§

fn op_shl(self, other: &i64) -> Self::Output

Source§

impl<'a> BitShl<&isize> for &'a Value

Source§

type Output = i64

Source§

fn op_shl(self, other: &isize) -> Self::Output

Source§

impl<'a> BitShl<&u8> for &'a Value

Source§

type Output = u64

Source§

fn op_shl(self, other: &u8) -> Self::Output

Source§

impl<'a> BitShl<&u16> for &'a Value

Source§

type Output = u64

Source§

fn op_shl(self, other: &u16) -> Self::Output

Source§

impl<'a> BitShl<&u32> for &'a Value

Source§

type Output = u64

Source§

fn op_shl(self, other: &u32) -> Self::Output

Source§

impl<'a> BitShl<&u64> for &'a Value

Source§

type Output = u64

Source§

fn op_shl(self, other: &u64) -> Self::Output

Source§

impl<'a> BitShl<&usize> for &'a Value

Source§

type Output = i64

Source§

fn op_shl(self, other: &usize) -> Self::Output

Source§

impl<'a> BitShl<i8> for &'a Value

Source§

type Output = i64

Source§

fn op_shl(self, other: i8) -> Self::Output

Source§

impl<'a> BitShl<i16> for &'a Value

Source§

type Output = i64

Source§

fn op_shl(self, other: i16) -> Self::Output

Source§

impl<'a> BitShl<i32> for &'a Value

Source§

type Output = i64

Source§

fn op_shl(self, other: i32) -> Self::Output

Source§

impl<'a> BitShl<i64> for &'a Value

Source§

type Output = i64

Source§

fn op_shl(self, other: i64) -> Self::Output

Source§

impl<'a> BitShl<isize> for &'a Value

Source§

type Output = i64

Source§

fn op_shl(self, other: isize) -> Self::Output

Source§

impl<'a> BitShl<u8> for &'a Value

Source§

type Output = u64

Source§

fn op_shl(self, other: u8) -> Self::Output

Source§

impl<'a> BitShl<u16> for &'a Value

Source§

type Output = u64

Source§

fn op_shl(self, other: u16) -> Self::Output

Source§

impl<'a> BitShl<u32> for &'a Value

Source§

type Output = u64

Source§

fn op_shl(self, other: u32) -> Self::Output

Source§

impl<'a> BitShl<u64> for &'a Value

Source§

type Output = u64

Source§

fn op_shl(self, other: u64) -> Self::Output

Source§

impl<'a> BitShl<usize> for &'a Value

Source§

type Output = i64

Source§

fn op_shl(self, other: usize) -> Self::Output

Implementors§