I am unsure as to whether it makes sense to implement this as opposed to just calling `.as_slice()` first. Semantically, it is kind of a container, but practically speaking, it seems better to keep the API as simple as possible.