Skip to main content

extern_spec_Shl__ref_i32_i16_shl

Function extern_spec_Shl__ref_i32_i16_shl 

Source
pub fn extern_spec_Shl__ref_i32_i16_shl(self_: i16, rhs: &i32) -> i16
Expand description

extern spec for i16::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