pub trait CubeIndexExpand {
    type Output;
    type Idx;
    // Required methods
    fn expand_index(self, scope: &mut Scope, index: Self::Idx) -> Self::Output;
    fn expand_index_unchecked(
        self,
        scope: &mut Scope,
        index: Self::Idx,
    ) -> Self::Output;
}