#bits #left #shift #dropping #non-zero #drop #shifts

safe_shl

left bit shifts without dropping bits

3 stable releases

Uses old Rust 2015

1.1.1 Mar 13, 2018
1.1.0 Sep 10, 2017
1.0.0 Sep 8, 2017

#9 in #dropping

34 downloads per month

0BSD license

2KB

Shift lhs left by rhs bits, returning None instead if that drops any nonzero bits.

No runtime deps