Traits like this might be helpful to be kept in ArrayInterfaceCore ```julia struct GenericIndexing end struct OneBasedIndexing end offset_type(::Array) = OneBasedIndexing() offset_type(::OffsetArray) = GenericIndexing() offset_type(A::Diagonal) = offset_type(parent(A)) ``` CRef: https://discourse.julialang.org/t/does-abstractarray-itself-need-to-support-indexing-beyond-1-based/83324/3