Skip to main content

extern_spec_Neg_Wrapping_u64_neg

Function extern_spec_Neg_Wrapping_u64_neg 

Source
pub fn extern_spec_Neg_Wrapping_u64_neg(self_: Wrapping<u64>) -> Wrapping<u64>
Expand description

extern spec for Wrapping<u64>::neg

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

ghost

ensures

result.0 == -self.0