pub fn value(&self, i: usize) -> &[u8] {
        let start = self.offsets[i].to_usize();
        let end = self.offsets[i + 1].to_usize();

        // soundness: the invariant of the struct
        unsafe { self.values.get_unchecked(start..end) }
    }
/// Returns the element at index `i`
/// # Panics
/// iff `i >= self.len()`
Returns the element at index `i`
Returns the element at index ` i `
pub fn value(&self, i: usize) -> &[u8] {
        let start = self.offsets[i].to_usize();
        let end = self.offsets[i + 1].to_usize();
        // soundness: the invariant of the struct
        unsafe { self.values.get_unchecked(start..end) }
    }
pub fn value ( & self , i : usize ) -> & [ u8 ] { let start = self . offsets [ i ] . to_usize ( ) ; let end = self . offsets [ i + 1 ] . to_usize ( ) ; // soundness: the invariant of the struct unsafe { self . values . get_unchecked ( start .. end ) } }
Returns the element at index `i`
Returns the element at index ` i `
&self
i
usize
&self
i
usize
panics
None