Skip to main content

extern_spec_T_A_Vec_T_A_capacity

Function extern_spec_T_A_Vec_T_A_capacity 

Source
pub fn extern_spec_T_A_Vec_T_A_capacity<T, A: Allocator>(
    self_: &Vec<T, A>,
) -> usize
Expand description

extern spec for Vec<T, A>::capacity

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

terminates

ghost

ensures

result@ >= self@.len()