Skip to main content

extern_spec_Neg_Wrapping_i32_neg

Function extern_spec_Neg_Wrapping_i32_neg 

Source
pub fn extern_spec_Neg_Wrapping_i32_neg(self_: Wrapping<i32>) -> Wrapping<i32>
Expand description

extern spec for Wrapping<i32>::neg

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

ghost

ensures

result.0 == -self.0