Skip to main content

extern_spec_Duration_is_zero

Function extern_spec_Duration_is_zero 

Source
pub fn extern_spec_Duration_is_zero(self_: &Duration) -> bool
Expand description

extern spec for Duration::is_zero

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

terminates

ghost

ensures

self@ == 0 ==> result == true

ensures

self@ != 0 ==> result == false