pub trait BitShl<Rhs = Self> { type Output; // Required method fn op_shl(self, rhs: Rhs) -> Self::Output; }
The resulting type after applying the << operator.
<<
Performs the << operation.
assert_eq!(1u8 << 1, 2); assert_eq!(1u8 << 2, 4); assert_eq!(4u16 << 3, 32);