Trait gimli::write::RelocateWriter
source · pub trait RelocateWriter {
type Writer: Writer;
// Required methods
fn writer(&self) -> &Self::Writer;
fn writer_mut(&mut self) -> &mut Self::Writer;
fn relocate(&mut self, relocation: Relocation);
}
Expand description
A Writer
which also records relocations.
Required Associated Types§
Required Methods§
sourcefn writer_mut(&mut self) -> &mut Self::Writer
fn writer_mut(&mut self) -> &mut Self::Writer
Get the writer being used to write the section data.
sourcefn relocate(&mut self, relocation: Relocation)
fn relocate(&mut self, relocation: Relocation)
Record a relocation.