/// Get the type of the array index, regardless of its boundedness.
Get the type of the array index, regardless of its boundedness.
Get the type of the array index regardless of its boundedness .
pub fn ty(&self) -> &Ty {
        match *self {
            ArrayIndex::Unbounded(ref ty) => ty.as_ref(),
            ArrayIndex::Constrained(ref ty) => ty.as_ref(),
        }
    }
pub fn ty ( & self ) -> & Ty { match * self { ArrayIndex :: Unbounded ( ref ty ) => ty . as_ref ( ) , ArrayIndex :: Constrained ( ref ty ) => ty . as_ref ( ) , } }
Get the type of the array index, regardless of its boundedness.
Get the type of the array index regardless of its boundedness .
&self