pub fn iter(&self) -> ItemIter<'_, I> {
        // get a parse buffer
        let mut buf = self.stream.parse_buffer();

        // drop the header
        // this can't fail; we've already read this once
        buf.take(self.header.header_size as usize)
            .expect("dropping TPI header");

        ItemIter {
            buf,
            index: self.header.minimum_index,
            _ph: PhantomData,
        }
    }
/// Returns an iterator that can traverse the type table in sequential order.
Returns an iterator that can traverse the type table in sequential order.
Returns an iterator that can traverse the type table in sequential order .
pub fn iter(&self) -> ItemIter<'_, I> {
        // get a parse buffer
        let mut buf = self.stream.parse_buffer();
        // drop the header
        // this can't fail; we've already read this once
        buf.take(self.header.header_size as usize)
            .expect("dropping TPI header");
        ItemIter {
            buf,
            index: self.header.minimum_index,
            _ph: PhantomData,
        }
    }
pub fn iter ( & self ) -> ItemIter < ' _ , I > { // get a parse buffer let mut buf = self . stream . parse_buffer ( ) ; // drop the header // this can't fail; we've already read this once buf . take ( self . header . header_size as usize ) . expect ( " " ) ; ItemIter { buf , index : self . header . minimum_index , _ph : PhantomData , } }
Returns an iterator that can traverse the type table in sequential order.
Returns an iterator that can traverse the type table in sequential order .
&self