Provide a common trait for getting slices from both meshes and buffers