Skip to main content

extern_spec_Shl_i32_isize_shl

Function extern_spec_Shl_i32_isize_shl 

Source
pub fn extern_spec_Shl_i32_isize_shl(self_: isize, rhs: i32) -> isize
Expand description

extern spec for isize::shl

This is not a real function: its only use is for documentation.

requires

(0usize as $rhs) <= rhs && rhs < $type::BITS as $rhs

ensures

result == self $op rhs