pub fn write<W: Writer>(&mut self, sections: &mut Sections<W>) -> Result<()> {
        let line_strings = self.line_strings.write(&mut sections.debug_line_str)?;
        let strings = self.strings.write(&mut sections.debug_str)?;
        self.units.write(sections, &line_strings, &strings)?;
        for line_program in &self.line_programs {
            line_program.write(
                &mut sections.debug_line,
                line_program.encoding(),
                &line_strings,
                &strings,
            )?;
        }
        Ok(())
    }
/// Write the DWARF information to the given sections.
Write the DWARF information to the given sections.
Write the DWARF information to the given sections .
pub fn write<W: Writer>(&mut self, sections: &mut Sections<W>) -> Result<()> {
        let line_strings = self.line_strings.write(&mut sections.debug_line_str)?;
        let strings = self.strings.write(&mut sections.debug_str)?;
        self.units.write(sections, &line_strings, &strings)?;
        for line_program in &self.line_programs {
            line_program.write(
                &mut sections.debug_line,
                line_program.encoding(),
                &line_strings,
                &strings,
            )?;
        }
        Ok(())
    }
pub fn write < W : Writer > ( & mut self , sections : & mut Sections < W > ) -> Result < ( ) > { let line_strings = self . line_strings . write ( & mut sections . debug_line_str ) ? ; let strings = self . strings . write ( & mut sections . debug_str ) ? ; self . units . write ( sections , & line_strings , & strings ) ? ; for line_program in & self . line_programs { line_program . write ( & mut sections . debug_line , line_program . encoding ( ) , & line_strings , & strings , ) ? ; } Ok ( ( ) ) }
Write the DWARF information to the given sections.
Write the DWARF information to the given sections .
&mut self
sections
&mut Sections<W>
&mut self
sections
&mut Sections<W>