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§

source

type Writer: Writer

The type of the writer being used to write the section data.

Required Methods§

source

fn writer(&self) -> &Self::Writer

Get the writer being used to write the section data.

source

fn writer_mut(&mut self) -> &mut Self::Writer

Get the writer being used to write the section data.

source

fn relocate(&mut self, relocation: Relocation)

Record a relocation.

Implementors§