Trait vstd::array::ArrayAdditionalSpecFns

source ·
pub trait ArrayAdditionalSpecFns<T>: View<V = Seq<T>> {
    // Required method
    spec fn spec_index(&self, i: int) -> T;
}

Required Methods§

source

spec fn spec_index(&self, i: int) -> T

recommends
0 <= i < self.view().len(),

Implementations on Foreign Types§

source§

impl<T, const N: usize> ArrayAdditionalSpecFns<T> for [T; N]

source§

open spec fn spec_index(&self, i: int) -> T

{ self.view().index(i) }

Implementors§