Skip to main content

extern_spec_Neg_Wrapping_i16_neg

Function extern_spec_Neg_Wrapping_i16_neg 

Source
pub fn extern_spec_Neg_Wrapping_i16_neg(self_: Wrapping<i16>) -> Wrapping<i16>
Expand description

extern spec for Wrapping<i16>::neg

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

ghost

ensures

result.0 == -self.0