Struct gimli::write::EndianVec [−][src]
pub struct EndianVec<Endian> where
Endian: Endianity, { /* fields omitted */ }
Expand description
A Vec<u8>
with endianity metadata.
This implements the Writer
trait, which is used for all writing of DWARF sections.
Implementations
Construct an empty EndianVec
with the given endianity.
Trait Implementations
type Endian = Endian
type Endian = Endian
The endianity of bytes that are written.
Write a slice at a given offset. Read more
Write an address. Read more
Write an address with a .eh_frame
pointer encoding. Read more
Write a value with a .eh_frame
pointer format. Read more
Write an offset that is relative to the start of the given section. Read more
Write an offset that is relative to the start of the given section. Read more
Write a reference to a symbol. Read more
Write a u16 at the given offset.
Write a u32 at the given offset.
Write a u64 at the given offset.
Write unsigned data of the given size. Read more
Write signed data of the given size. Read more
Write a word of the given size at the given offset. Read more
Write an unsigned LEB128 encoded integer.
Read an unsigned LEB128 encoded integer.
Write an initial length according to the given DWARF format. Read more
fn write_initial_length_at(
&mut self,
offset: InitialLengthOffset,
length: u64,
format: Format
) -> Result<()>
fn write_initial_length_at(
&mut self,
offset: InitialLengthOffset,
length: u64,
format: Format
) -> Result<()>
Write an initial length at the given offset according to the given DWARF format. Read more
Auto Trait Implementations
impl<Endian> RefUnwindSafe for EndianVec<Endian> where
Endian: RefUnwindSafe,
impl<Endian> UnwindSafe for EndianVec<Endian> where
Endian: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more