fn add_tuple(
        &self,
        builder: &mut typ::TypeBuilder<gimli::DebugInfoOffset>,
        offset: gimli::DebugInfoOffset,
        fields: (Vec<&'i str>, Vec<gimli::DebugInfoOffset>),
    ) -> Result<(), InternalError> {
        let fields = fields.1;
        builder.add_tuple(offset, &fields);
        for offset in fields {
            self.add_type(builder, offset)
                .map_err(|e| e.extend("Could not add tuple"))?;
        }
        Ok(())
    }
// returns None if parsing failed
// returns Ok(true) if we found a tuple
// returns Ok(false) if we did not find a tuple
returns None if parsing failed
returns Ok(true) if we found a tuple
returns Ok(false) if we did not find a tuple
returns None if parsing failed returns Ok ( true ) if we found a tuple returns Ok ( false ) if we did not find a tuple
fn add_tuple(
        &self,
        builder: &mut typ::TypeBuilder<gimli::DebugInfoOffset>,
        offset: gimli::DebugInfoOffset,
        fields: (Vec<&'i str>, Vec<gimli::DebugInfoOffset>),
    ) -> Result<(), InternalError> {
        let fields = fields.1;
        builder.add_tuple(offset, &fields);
        for offset in fields {
            self.add_type(builder, offset)
                .map_err(|e| e.extend("Could not add tuple"))?;
        }
        Ok(())
    }
fn add_tuple ( & self , builder : & mut typ :: TypeBuilder < gimli :: DebugInfoOffset > , offset : gimli :: DebugInfoOffset , fields : ( Vec < & ' i str > , Vec < gimli :: DebugInfoOffset > ) , ) -> Result < ( ) , InternalError > { let fields = fields . 1 ; builder . add_tuple ( offset , & fields ) ; for offset in fields { self . add_type ( builder , offset ) . map_err ( | e | e . extend ( " " ) ) ? ; } Ok ( ( ) ) }
returns None if parsing failed
returns Ok(true) if we found a tuple
returns Ok(false) if we did not find a tuple
returns None if parsing failed returns Ok ( true ) if we found a tuple returns Ok ( false ) if we did not find a tuple
&self
builder
&mut typ::TypeBuilder<gimli::DebugInfoOffset>
offset
gimli::DebugInfoOffset
fields
(Vec<&'i str>, Vec<gimli::DebugInfoOffset>)
&self
builder
&mut typ::TypeBuilder<gimli::DebugInfoOffset>
offset
gimli::DebugInfoOffset
fields
(Vec<&'i str>, Vec<gimli::DebugInfoOffset>)