Skip to main content

extern_spec_T_A_Clone_Box__slice_T_A_clone

Function extern_spec_T_A_Clone_Box__slice_T_A_clone 

Source
pub fn extern_spec_T_A_Clone_Box__slice_T_A_clone<T: Clone, A: Allocator + Clone>(
    self_: &Box<[T], A>,
) -> Box<[T], A>
Expand description

extern spec for Box<slice<T>, A>::clone

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

ensures

forall<i> 0 <= i && i < self@.len() ==>
    T::clone.postcondition((&self@[i],), result@[i])