Skip to main content

extern_spec_T_A_Arc_T_A_ptr_eq

Function extern_spec_T_A_Arc_T_A_ptr_eq 

Source
pub fn extern_spec_T_A_Arc_T_A_ptr_eq<T, A: Allocator>(
    this: &Arc<T, A>,
    other: &Arc<T, A>,
) -> bool
Expand description

extern spec for Arc<T, A>::ptr_eq

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

terminates

ensures

result == (this.as_ptr_logic().deep_model() == other.as_ptr_logic().deep_model())

ensures

result ==> this@ == other@