1 2 3 4 5 6 7 8 9 10 11 12
use super::*; impl<I> core::ops::Index<I> for Utf8BytesMut where I: core::slice::SliceIndex<str>, { type Output = I::Output; fn index(&self, index: I) -> &Self::Output { &self.as_str()[index] } }