Skip to main content

shift_left

Function shift_left 

Source
pub fn shift_left(a: impl Operand, b: impl Operand) -> Result<PrimExpr>
Expand description

Build a << b of two integers.

ยงErrors

Returns an InternalError if an operand is not an integer, or a constant shift amount is negative or not less than the width.