edlang/object/read/elf/trait.FileHeader.html

146 lines
62 KiB
HTML
Raw Normal View History

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A trait for generic access to `elf::FileHeader32` and `elf::FileHeader64`."><title>FileHeader in object::read::elf - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="object" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../object/index.html">object</a><span class="version">0.32.2</span></h2></div><h2 class="location"><a href="#">FileHeader</a></h2><div class="sidebar-elems"><section><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.CompressionHeader">CompressionHeader</a></li><li><a href="#associatedtype.Dyn">Dyn</a></li><li><a href="#associatedtype.Endian">Endian</a></li><li><a href="#associatedtype.NoteHeader">NoteHeader</a></li><li><a href="#associatedtype.ProgramHeader">ProgramHeader</a></li><li><a href="#associatedtype.Rel">Rel</a></li><li><a href="#associatedtype.Rela">Rela</a></li><li><a href="#associatedtype.SectionHeader">SectionHeader</a></li><li><a href="#associatedtype.Sword">Sword</a></li><li><a href="#associatedtype.Sym">Sym</a></li><li><a href="#associatedtype.Word">Word</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.e_ehsize">e_ehsize</a></li><li><a href="#tymethod.e_entry">e_entry</a></li><li><a href="#tymethod.e_flags">e_flags</a></li><li><a href="#tymethod.e_ident">e_ident</a></li><li><a href="#tymethod.e_machine">e_machine</a></li><li><a href="#tymethod.e_phentsize">e_phentsize</a></li><li><a href="#tymethod.e_phnum">e_phnum</a></li><li><a href="#tymethod.e_phoff">e_phoff</a></li><li><a href="#tymethod.e_shentsize">e_shentsize</a></li><li><a href="#tymethod.e_shnum">e_shnum</a></li><li><a href="#tymethod.e_shoff">e_shoff</a></li><li><a href="#tymethod.e_shstrndx">e_shstrndx</a></li><li><a href="#tymethod.e_type">e_type</a></li><li><a href="#tymethod.e_version">e_version</a></li><li><a href="#tymeth
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../object/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../index.html">object</a>::<wbr><a href="../index.html">read</a>::<wbr><a href="index.html">elf</a>::<wbr><a class="trait" href="#">FileHeader</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/object/read/elf/file.rs.html#446-722">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait FileHeader: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="../../pod/trait.Pod.html" title="trait object::pod::Pod">Pod</a> {
type <a href="#associatedtype.Word" class="associatedtype">Word</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>&gt;;
type <a href="#associatedtype.Sword" class="associatedtype">Sword</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</a>&gt;;
type <a href="#associatedtype.Endian" class="associatedtype">Endian</a>: <a class="trait" href="../../endian/trait.Endian.html" title="trait object::endian::Endian">Endian</a>;
type <a href="#associatedtype.ProgramHeader" class="associatedtype">ProgramHeader</a>: <a class="trait" href="trait.ProgramHeader.html" title="trait object::read::elf::ProgramHeader">ProgramHeader</a>&lt;Elf = Self, Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>&gt;;
type <a href="#associatedtype.SectionHeader" class="associatedtype">SectionHeader</a>: <a class="trait" href="trait.SectionHeader.html" title="trait object::read::elf::SectionHeader">SectionHeader</a>&lt;Elf = Self, Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>&gt;;
type <a href="#associatedtype.CompressionHeader" class="associatedtype">CompressionHeader</a>: <a class="trait" href="trait.CompressionHeader.html" title="trait object::read::elf::CompressionHeader">CompressionHeader</a>&lt;Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>&gt;;
type <a href="#associatedtype.NoteHeader" class="associatedtype">NoteHeader</a>: <a class="trait" href="trait.NoteHeader.html" title="trait object::read::elf::NoteHeader">NoteHeader</a>&lt;Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>&gt;;
type <a href="#associatedtype.Dyn" class="associatedtype">Dyn</a>: <a class="trait" href="trait.Dyn.html" title="trait object::read::elf::Dyn">Dyn</a>&lt;Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>&gt;;
type <a href="#associatedtype.Sym" class="associatedtype">Sym</a>: <a class="trait" href="trait.Sym.html" title="trait object::read::elf::Sym">Sym</a>&lt;Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>&gt;;
type <a href="#associatedtype.Rel" class="associatedtype">Rel</a>: <a class="trait" href="trait.Rel.html" title="trait object::read::elf::Rel">Rel</a>&lt;Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>&gt;;
type <a href="#associatedtype.Rela" class="associatedtype">Rela</a>: <a class="trait" href="trait.Rela.html" title="trait object::read::elf::Rela">Rela</a>&lt;Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Rel" title="type object::read::elf::FileHeader::Rel">Rel</a>&gt;;
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 32 methods</span></summary> // Required methods
fn <a href="#tymethod.is_type_64" class="fn">is_type_64</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.is_type_64_sized" class="fn">is_type_64_sized</a>() -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_ident" class="fn">e_ident</a>(&amp;self) -&gt; &amp;<a class="struct" href="../../elf/struct.Ident.html" title="struct object::elf::Ident">Ident</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_type" class="fn">e_type</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_machine" class="fn">e_machine</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_version" class="fn">e_version</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_entry" class="fn">e_entry</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_phoff" class="fn">e_phoff</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_shoff" class="fn">e_shoff</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_flags" class="fn">e_flags</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_ehsize" class="fn">e_ehsize</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_phentsize" class="fn">e_phentsize</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_phnum" class="fn">e_phnum</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_shentsize" class="fn">e_shentsize</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_shnum" class="fn">e_shnum</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.e_shstrndx" class="fn">e_shstrndx</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a>;
// Provided methods
fn <a href="#method.parse" class="fn">parse</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(data: R) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&amp;'data Self</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.is_supported" class="fn">is_supported</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.is_class_32" class="fn">is_class_32</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.is_class_64" class="fn">is_class_64</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.is_little_endian" class="fn">is_little_endian</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.is_big_endian" class="fn">is_big_endian</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.endian" class="fn">endian</a>(&amp;self) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.section_0" class="fn">section_0</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'data Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.SectionHeader" title="type object::read::elf::FileHeader::SectionHeader">SectionHeader</a>&gt;&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.phnum" class="fn">phnum</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.shnum" class="fn">shnum</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.shstrndx" class="fn">shstrndx</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.program_headers" class="fn">program_headers</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;&amp;'data [Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.ProgramHeader" title="type object::read::elf::FileHeader::ProgramHeader">ProgramHeader</a>]&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.section_headers" class="fn">section_headers</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;&amp;'data [Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.SectionHeader" title="type object::read::elf::FileHeader::SectionHeader">SectionHeader</a>]&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.section_strings" class="fn">section_strings</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R,
sections: &amp;[Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.SectionHeader" title="type object::read::elf::FileHeader::SectionHeader">SectionHeader</a>]
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="struct" href="../struct.StringTable.html" title="struct object::read::StringTable">StringTable</a>&lt;'data, R&gt;&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.sections" class="fn">sections</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="struct" href="struct.SectionTable.html" title="struct object::read::elf::SectionTable">SectionTable</a>&lt;'data, Self, R&gt;&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.is_mips64el" class="fn">is_mips64el</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a> { ... }
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A trait for generic access to <a href="../../elf/struct.FileHeader32.html" title="struct object::elf::FileHeader32"><code>elf::FileHeader32</code></a> and <a href="../../elf/struct.FileHeader64.html" title="struct object::elf::FileHeader64"><code>elf::FileHeader64</code></a>.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Word" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#448">source</a><h4 class="code-header">type <a href="#associatedtype.Word" class="associatedtype">Word</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>&gt;</h4></section><section id="associatedtype.Sword" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#449">source</a><h4 class="code-header">type <a href="#associatedtype.Sword" class="associatedtype">Sword</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i64.html">i64</a>&gt;</h4></section><section id="associatedtype.Endian" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#450">source</a><h4 class="code-header">type <a href="#associatedtype.Endian" class="associatedtype">Endian</a>: <a class="trait" href="../../endian/trait.Endian.html" title="trait object::endian::Endian">Endian</a></h4></section><section id="associatedtype.ProgramHeader" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#451">source</a><h4 class="code-header">type <a href="#associatedtype.ProgramHeader" class="associatedtype">ProgramHeader</a>: <a class="trait" href="trait.ProgramHeader.html" title="trait object::read::elf::ProgramHeader">ProgramHeader</a>&lt;Elf = Self, Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>&gt;</h4></section><section id="associatedtype.SectionHeader" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#452">source</a><h4 class="code-header">type <a href="#associatedtype.SectionHeader" class="associatedtype">SectionHeader</a>: <a class="trait" href="trait.SectionHeader.html" title="trait object::read::elf::SectionHeader">SectionHeader</a>&lt;Elf = Self, Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>&gt;</h4></section><section id="associatedtype.CompressionHeader" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#453">source</a><h4 class="code-header">type <a href="#associatedtype.CompressionHeader" class="associatedtype">CompressionHeader</a>: <a class="trait" href="trait.CompressionHeader.html" title="trait object::read::elf::CompressionHeader">CompressionHeader</a>&lt;Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>, Word = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a>&gt;</h4></section><section id="associatedtype.NoteHeader" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#454">source</a><h4 class="code-header">type <a href="#associatedtype.NoteHeader" class="associatedtype">NoteHeader</a>: <a class="trait" href="trait.NoteHeader.html" title="trait object::read::elf::NoteHeader">NoteHeader</a>&lt;Endian = Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHe
<p>This is a property of the type, not a value in the header data.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.is_type_64_sized" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#470-472">source</a><h4 class="code-header">fn <a href="#tymethod.is_type_64_sized" class="fn">is_type_64_sized</a>() -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a><div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Return true if this type is a 64-bit header.</p>
<p>This is a property of the type, not a value in the header data.</p>
<p>This is the same as <a href="trait.FileHeader.html#tymethod.is_type_64"><code>Self::is_type_64</code></a>, but is non-dispatchable.</p>
</div></details><section id="tymethod.e_ident" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#474">source</a><h4 class="code-header">fn <a href="#tymethod.e_ident" class="fn">e_ident</a>(&amp;self) -&gt; &amp;<a class="struct" href="../../elf/struct.Ident.html" title="struct object::elf::Ident">Ident</a></h4></section><section id="tymethod.e_type" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#475">source</a><h4 class="code-header">fn <a href="#tymethod.e_type" class="fn">e_type</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a></h4></section><section id="tymethod.e_machine" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#476">source</a><h4 class="code-header">fn <a href="#tymethod.e_machine" class="fn">e_machine</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u16.html">u16</a></h4></section><section id="tymethod.e_version" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#477">source</a><h4 class="code-header">fn <a href="#tymethod.e_version" class="fn">e_version</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a></h4></section><section id="tymethod.e_entry" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#478">source</a><h4 class="code-header">fn <a href="#tymethod.e_entry" class="fn">e_entry</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a></h4></section><section id="tymethod.e_phoff" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#479">source</a><h4 class="code-header">fn <a href="#tymethod.e_phoff" class="fn">e_phoff</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a></h4></section><section id="tymethod.e_shoff" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#480">source</a><h4 class="code-header">fn <a href="#tymethod.e_shoff" class="fn">e_shoff</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Word" title="type object::read::elf::FileHeader::Word">Word</a></h4></section><section id="tymethod.e_flags" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#481">source</a><h4 class="code-header">fn <a href="#tymethod.e_flags" class="fn">e_flags</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a></h4></section><section id="tymethod.e_ehsize" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#482">source</a><h4 class="code-header">fn
<p>Also checks that the ident field in the file header is a supported format.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_supported" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#508-516">source</a><h4 class="code-header">fn <a href="#method.is_supported" class="fn">is_supported</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Check that the ident field in the file header is a supported format.</p>
<p>This checks the magic number, version, class, and endianness.</p>
</div></details><section id="method.is_class_32" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#518-520">source</a><h4 class="code-header">fn <a href="#method.is_class_32" class="fn">is_class_32</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section><section id="method.is_class_64" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#522-524">source</a><h4 class="code-header">fn <a href="#method.is_class_64" class="fn">is_class_64</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section><section id="method.is_little_endian" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#526-528">source</a><h4 class="code-header">fn <a href="#method.is_little_endian" class="fn">is_little_endian</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section><section id="method.is_big_endian" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#530-532">source</a><h4 class="code-header">fn <a href="#method.is_big_endian" class="fn">is_big_endian</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section><section id="method.endian" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#534-536">source</a><h4 class="code-header">fn <a href="#method.endian" class="fn">endian</a>(&amp;self) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.section_0" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#542-560">source</a><h4 class="code-header">fn <a href="#method.section_0" class="fn">section_0</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'data Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.SectionHeader" title="type object::read::elf::FileHeader::SectionHeader">SectionHeader</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>Return the first section header, if present.</p>
<p>Section 0 is a special case because getting the section headers normally
requires <code>shnum</code>, but <code>shnum</code> may be in the first section header.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.phnum" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#565-579">source</a><h4 class="code-header">fn <a href="#method.phnum" class="fn">phnum</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt;</h4></section></summary><div class="docblock"><p>Return the <code>e_phnum</code> field of the header. Handles extended values.</p>
<p>Returns <code>Err</code> for invalid values.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.shnum" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#584-603">source</a><h4 class="code-header">fn <a href="#method.shnum" class="fn">shnum</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt;</h4></section></summary><div class="docblock"><p>Return the <code>e_shnum</code> field of the header. Handles extended values.</p>
<p>Returns <code>Err</code> for invalid values.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.shstrndx" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#608-626">source</a><h4 class="code-header">fn <a href="#method.shstrndx" class="fn">shstrndx</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Return the <code>e_shstrndx</code> field of the header. Handles extended values.</p>
<p>Returns <code>Err</code> for invalid values (including if the index is 0).</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.program_headers" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#632-654">source</a><h4 class="code-header">fn <a href="#method.program_headers" class="fn">program_headers</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;&amp;'data [Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.ProgramHeader" title="type object::read::elf::FileHeader::ProgramHeader">ProgramHeader</a>]&gt;</h4></section></summary><div class="docblock"><p>Return the slice of program headers.</p>
<p>Returns <code>Ok(&amp;[])</code> if there are no program headers.
Returns <code>Err</code> for invalid values.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.section_headers" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#660-682">source</a><h4 class="code-header">fn <a href="#method.section_headers" class="fn">section_headers</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;&amp;'data [Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.SectionHeader" title="type object::read::elf::FileHeader::SectionHeader">SectionHeader</a>]&gt;</h4></section></summary><div class="docblock"><p>Return the slice of section headers.</p>
<p>Returns <code>Ok(&amp;[])</code> if there are no section headers.
Returns <code>Err</code> for invalid values.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.section_strings" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#685-705">source</a><h4 class="code-header">fn <a href="#method.section_strings" class="fn">section_strings</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R,
sections: &amp;[Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.SectionHeader" title="type object::read::elf::FileHeader::SectionHeader">SectionHeader</a>]
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="struct" href="../struct.StringTable.html" title="struct object::read::StringTable">StringTable</a>&lt;'data, R&gt;&gt;</h4></section></summary><div class="docblock"><p>Return the string table for the section headers.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.sections" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#708-716">source</a><h4 class="code-header">fn <a href="#method.sections" class="fn">sections</a>&lt;'data, R: <a class="trait" href="../trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a>&lt;'data&gt;&gt;(
&amp;self,
endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>,
data: R
) -&gt; <a class="type" href="../type.Result.html" title="type object::read::Result">Result</a>&lt;<a class="struct" href="struct.SectionTable.html" title="struct object::read::elf::SectionTable">SectionTable</a>&lt;'data, Self, R&gt;&gt;</h4></section></summary><div class="docblock"><p>Return the section table.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_mips64el" class="method"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#719-721">source</a><h4 class="code-header">fn <a href="#method.is_mips64el" class="fn">is_mips64el</a>(&amp;self, endian: Self::<a class="associatedtype" href="trait.FileHeader.html#associatedtype.Endian" title="type object::read::elf::FileHeader::Endian">Endian</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns whether this is a mips64el elf file.</p>
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.76.0/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-FileHeader-for-FileHeader32%3CEndian%3E" class="impl"><a class="src rightside" href="../../../src/object/read/elf/file.rs.html#724-819">source</a><a href="#impl-FileHeader-for-FileHeader32%3CEndian%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Endian: <a class="trait" href="../../endian/trait.Endian.html" title="trait object::endian::Endian">Endian</a>&gt; <a class="trait" href="trait.FileHeader.html" title="trait object::read::elf::FileHeader">FileHeader</a> for <a class="struct" href="../../elf/struct.FileHeader32.html" title="struct object::elf::FileHeader32">FileHeader32</a>&lt;Endian&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Word-1" class="associatedtype trait-impl"><a href="#associatedtype.Word-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Word" class="associatedtype">Word</a> = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u32.html">u32</a></h4></section><section id="associatedtype.Sword-1" class="associatedtype trait-impl"><a href="#associatedtype.Sword-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Sword" class="associatedtype">Sword</a> = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.i32.html">i32</a></h4></section><section id="associatedtype.Endian-1" class="associatedtype trait-impl"><a href="#associatedtype.Endian-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Endian" class="associatedtype">Endian</a> = Endian</h4></section><section id="associatedtype.ProgramHeader-1" class="associatedtype trait-impl"><a href="#associatedtype.ProgramHeader-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ProgramHeader" class="associatedtype">ProgramHeader</a> = <a class="struct" href="../../elf/struct.ProgramHeader32.html" title="struct object::elf::ProgramHeader32">ProgramHeader32</a>&lt;Endian&gt;</h4></section><section id="associatedtype.SectionHeader-1" class="associatedtype trait-impl"><a href="#associatedtype.SectionHeader-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionHeader" class="associatedtype">SectionHeader</a> = <a class="struct" href="../../elf/struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a>&lt;Endian&gt;</h4></section><section id="associatedtype.CompressionHeader-1" class="associatedtype trait-impl"><a href="#associatedtype.CompressionHeader-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.CompressionHeader" class="associatedtype">CompressionHeader</a> = <a class="struct" href="../../elf/struct.CompressionHeader32.html" title="struct object::elf::CompressionHeader32">CompressionHeader32</a>&lt;Endian&gt;</h4></section><section id="associatedtype.NoteHeader-1" class="associatedtype trait-impl"><a href="#associatedtype.NoteHeader-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.NoteHeader" class="associatedtype">NoteHeader</a> = <a class="struct" href="../../elf/struct.NoteHeader32.html" title="struct object::elf::NoteHeader32">NoteHeader32</a>&lt;Endian&gt;</h4></section><section id="associatedtype.Dyn-1" class="associatedtype trait-impl"><a href="#associatedtype.Dyn-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Dyn" class="associatedtype">Dyn</a> = <a class="struct" href="../../elf/struct.Dyn32.html" title="struct object::elf::Dyn32">Dyn32</a>&lt;Endian&gt;</h4></section><section id="associatedtype.Sym-1" class="associatedt