mirror of
https://github.com/Rust-GPU/rust-gpu.git
synced 2026-06-07 18:19:50 +09:00
427 lines
103 KiB
HTML
427 lines
103 KiB
HTML
<!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="An object file."><title>Object in object::read - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-17e0aaed.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.96.0-nightly (02c7f9bec 2026-04-10)" data-channel="nightly" data-search-js="search-b5634cc7.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Object</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../object/index.html">object</a><span class="version">0.37.3</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Object</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Comdat" title="Comdat">Comdat</a></li><li><a href="#associatedtype.ComdatIterator" title="ComdatIterator">ComdatIterator</a></li><li><a href="#associatedtype.DynamicRelocationIterator" title="DynamicRelocationIterator">DynamicRelocationIterator</a></li><li><a href="#associatedtype.Section" title="Section">Section</a></li><li><a href="#associatedtype.SectionIterator" title="SectionIterator">SectionIterator</a></li><li><a href="#associatedtype.Segment" title="Segment">Segment</a></li><li><a href="#associatedtype.SegmentIterator" title="SegmentIterator">SegmentIterator</a></li><li><a href="#associatedtype.Symbol" title="Symbol">Symbol</a></li><li><a href="#associatedtype.SymbolIterator" title="SymbolIterator">SymbolIterator</a></li><li><a href="#associatedtype.SymbolTable" title="SymbolTable">SymbolTable</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.architecture" title="architecture">architecture</a></li><li><a href="#tymethod.comdats" title="comdats">comdats</a></li><li><a href="#tymethod.dynamic_relocations" title="dynamic_relocations">dynamic_relocations</a></li><li><a href="#tymethod.dynamic_symbol_table" title="dynamic_symbol_table">dynamic_symbol_table</a></li><li><a href="#tymethod.dynamic_symbols" title="dynamic_symbols">dynamic_symbols</a></li><li><a href="#tymethod.entry" title="entry">entry</a></li><li><a href="#tymethod.exports" title="exports">exports</a></li><li><a href="#tymethod.flags" title="flags">flags</a></li><li><a href="#tymethod.has_debug_symbols" title="has_debug_symbols">has_debug_symbols</a></li><li><a href="#tymethod.imports" title="imports">imports</a></li><li><a href="#tymethod.is_64" title="is_64">is_64</a></li><li><a href="#tymethod.is_little_endian" title="is_little_endian">is_little_endian</a></li><li><a href="#tymethod.kind" title="kind">kind</a></li><li><a href="#tymethod.relative_address_base" title="relative_address_base">relative_address_base</a></li><li><a href="#tymethod.section_by_index" title="section_by_index">section_by_index</a></li><li><a href="#tymethod.section_by_name_bytes" title="section_by_name_bytes">section_by_name_bytes</a></li><li><a href="#tymethod.sections" title="sections">sections</a></li><li><a href="#tymethod.segments" title="segments">segments</a></li><li><a href="#tymethod.symbol_by_index" title="symbol_by_index">symbol_by_index</a></li><li><a href="#tymethod.symbol_table" title="symbol_table">symbol_table</a></li><li><a href="#tymethod.symbols" title="symbols">symbols</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.build_id" title="build_id">build_id</a></li><li><a href="#method.endianness" title="endianness">endianness</a></li><li><a href="#method.gnu_debugaltlink" title="gnu_debugaltlink">gnu_debugaltlink</a></li><li><a href="#method.gnu_debuglink" title="gnu_debuglink">gnu_debuglink</a></li><li><a href="#method.mach_uuid" title="mach_uuid">mach_uuid</a></li><li><a href="#method.object_map" title="object_map">object_map</a></li><li><a href="#method.pdb_info" title="pdb_info">pdb_info</a></li><li><a href="#method.section_by_name" title="section_by_name">section_by_name</a></li><li><a href="#method.sub_architecture" title="sub_architecture">sub_architecture</a></li><li><a href="#method.symbol_by_name" title="symbol_by_name">symbol_by_name</a></li><li><a href="#method.symbol_by_name_bytes" title="symbol_by_name_bytes">symbol_by_name_bytes</a></li><li><a href="#method.symbol_map" title="symbol_map">symbol_map</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In object::<wbr>read</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">object</a>::<wbr><a href="index.html">read</a></div><h1>Trait <span class="trait">Object</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/object/read/traits.rs.html#15-335">Source</a> </span></div><pre class="rust item-decl"><code>pub trait Object<'data>: Sealed {
|
||
type <a href="#associatedtype.Segment" class="associatedtype">Segment</a><'file>: <a class="trait" href="trait.ObjectSegment.html" title="trait object::read::ObjectSegment">ObjectSegment</a><'data>
|
||
<span class="where">where Self: 'file,
|
||
'data: 'file</span>;
|
||
type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a><'file>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Segment" title="type object::read::Object::Segment">Segment</a><'file>>
|
||
<span class="where">where Self: 'file,
|
||
'data: 'file</span>;
|
||
type <a href="#associatedtype.Section" class="associatedtype">Section</a><'file>: <a class="trait" href="trait.ObjectSection.html" title="trait object::read::ObjectSection">ObjectSection</a><'data>
|
||
<span class="where">where Self: 'file,
|
||
'data: 'file</span>;
|
||
type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a><'file>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a><'file>>
|
||
<span class="where">where Self: 'file,
|
||
'data: 'file</span>;
|
||
type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a><'file>: <a class="trait" href="trait.ObjectComdat.html" title="trait object::read::ObjectComdat">ObjectComdat</a><'data>
|
||
<span class="where">where Self: 'file,
|
||
'data: 'file</span>;
|
||
type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a><'file>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Comdat" title="type object::read::Object::Comdat">Comdat</a><'file>>
|
||
<span class="where">where Self: 'file,
|
||
'data: 'file</span>;
|
||
type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a><'file>: <a class="trait" href="trait.ObjectSymbol.html" title="trait object::read::ObjectSymbol">ObjectSymbol</a><'data>
|
||
<span class="where">where Self: 'file,
|
||
'data: 'file</span>;
|
||
type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a><'file>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a><'file>>
|
||
<span class="where">where Self: 'file,
|
||
'data: 'file</span>;
|
||
type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a><'file>: <a class="trait" href="trait.ObjectSymbolTable.html" title="trait object::read::ObjectSymbolTable">ObjectSymbolTable</a><'data, Symbol = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a><'file>, SymbolIterator = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolIterator" title="type object::read::Object::SymbolIterator">SymbolIterator</a><'file>>
|
||
<span class="where">where Self: 'file,
|
||
'data: 'file</span>;
|
||
type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a><'file>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = (<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="struct" href="struct.Relocation.html" title="struct object::read::Relocation">Relocation</a>)>
|
||
<span class="where">where Self: 'file,
|
||
'data: 'file</span>;
|
||
|
||
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 33 methods</span></summary> // Required methods
|
||
fn <a href="#tymethod.architecture" class="fn">architecture</a>(&self) -> <a class="enum" href="../enum.Architecture.html" title="enum object::Architecture">Architecture</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.is_little_endian" class="fn">is_little_endian</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.is_64" class="fn">is_64</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.kind" class="fn">kind</a>(&self) -> <a class="enum" href="enum.ObjectKind.html" title="enum object::read::ObjectKind">ObjectKind</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.segments" class="fn">segments</a>(&self) -> Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SegmentIterator" title="type object::read::Object::SegmentIterator">SegmentIterator</a><'_>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.section_by_name_bytes" class="fn">section_by_name_bytes</a><'file>(
|
||
&'file self,
|
||
section_name: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a><'file>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.section_by_index" class="fn">section_by_index</a>(&self, index: <a class="struct" href="struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a><'_>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.sections" class="fn">sections</a>(&self) -> Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SectionIterator" title="type object::read::Object::SectionIterator">SectionIterator</a><'_>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.comdats" class="fn">comdats</a>(&self) -> Self::<a class="associatedtype" href="trait.Object.html#associatedtype.ComdatIterator" title="type object::read::Object::ComdatIterator">ComdatIterator</a><'_>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.symbol_table" class="fn">symbol_table</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolTable" title="type object::read::Object::SymbolTable">SymbolTable</a><'_>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.symbol_by_index" class="fn">symbol_by_index</a>(&self, index: <a class="struct" href="struct.SymbolIndex.html" title="struct object::read::SymbolIndex">SymbolIndex</a>) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a><'_>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.symbols" class="fn">symbols</a>(&self) -> Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolIterator" title="type object::read::Object::SymbolIterator">SymbolIterator</a><'_>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.dynamic_symbol_table" class="fn">dynamic_symbol_table</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolTable" title="type object::read::Object::SymbolTable">SymbolTable</a><'_>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.dynamic_symbols" class="fn">dynamic_symbols</a>(&self) -> Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolIterator" title="type object::read::Object::SymbolIterator">SymbolIterator</a><'_>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.dynamic_relocations" class="fn">dynamic_relocations</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.DynamicRelocationIterator" title="type object::read::Object::DynamicRelocationIterator">DynamicRelocationIterator</a><'_>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.imports" class="fn">imports</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="struct.Import.html" title="struct object::read::Import">Import</a><'data>>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.exports" class="fn">exports</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="struct.Export.html" title="struct object::read::Export">Export</a><'data>>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.has_debug_symbols" class="fn">has_debug_symbols</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.relative_address_base" class="fn">relative_address_base</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.entry" class="fn">entry</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.flags" class="fn">flags</a>(&self) -> <a class="enum" href="../enum.FileFlags.html" title="enum object::FileFlags">FileFlags</a>;
|
||
|
||
// Provided methods
|
||
fn <a href="#method.sub_architecture" class="fn">sub_architecture</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="../enum.SubArchitecture.html" title="enum object::SubArchitecture">SubArchitecture</a>> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.endianness" class="fn">endianness</a>(&self) -> <a class="enum" href="../endian/enum.Endianness.html" title="enum object::endian::Endianness">Endianness</a> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.section_by_name" class="fn">section_by_name</a>(&self, section_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a><'_>> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.symbol_by_name" class="fn">symbol_by_name</a><'file>(
|
||
&'file self,
|
||
symbol_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a><'file>> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.symbol_by_name_bytes" class="fn">symbol_by_name_bytes</a><'file>(
|
||
&'file self,
|
||
symbol_name: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a><'file>> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.symbol_map" class="fn">symbol_map</a>(&self) -> <a class="struct" href="struct.SymbolMap.html" title="struct object::read::SymbolMap">SymbolMap</a><<a class="struct" href="struct.SymbolMapName.html" title="struct object::read::SymbolMapName">SymbolMapName</a><'data>> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.object_map" class="fn">object_map</a>(&self) -> <a class="struct" href="struct.ObjectMap.html" title="struct object::read::ObjectMap">ObjectMap</a><'data> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.mach_uuid" class="fn">mach_uuid</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">16</a>]>> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.build_id" class="fn">build_id</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'data [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]>> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.gnu_debuglink" class="fn">gnu_debuglink</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(&'data [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)>> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.gnu_debugaltlink" class="fn">gnu_debugaltlink</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(&'data [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], &'data [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>])>> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.pdb_info" class="fn">pdb_info</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.CodeView.html" title="struct object::read::CodeView">CodeView</a><'_>>> { ... }
|
||
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An object file.</p>
|
||
<p>This is the primary trait for the unified read API.</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"><details class="toggle" open><summary><section id="associatedtype.Segment" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#17-20">Source</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a><'file>: <a class="trait" href="trait.ObjectSegment.html" title="trait object::read::ObjectSegment">ObjectSegment</a><'data>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></summary><div class="docblock"><p>A loadable segment in the object file.</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedtype.SegmentIterator" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#23-26">Source</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a><'file>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Segment" title="type object::read::Object::Segment">Segment</a><'file>>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></summary><div class="docblock"><p>An iterator for the loadable segments in the object file.</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedtype.Section" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#29-32">Source</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a><'file>: <a class="trait" href="trait.ObjectSection.html" title="trait object::read::ObjectSection">ObjectSection</a><'data>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></summary><div class="docblock"><p>A section in the object file.</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedtype.SectionIterator" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#35-38">Source</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a><'file>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a><'file>>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></summary><div class="docblock"><p>An iterator for the sections in the object file.</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedtype.Comdat" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#41-44">Source</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a><'file>: <a class="trait" href="trait.ObjectComdat.html" title="trait object::read::ObjectComdat">ObjectComdat</a><'data>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></summary><div class="docblock"><p>A COMDAT section group in the object file.</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedtype.ComdatIterator" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#47-50">Source</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a><'file>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Comdat" title="type object::read::Object::Comdat">Comdat</a><'file>>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></summary><div class="docblock"><p>An iterator for the COMDAT section groups in the object file.</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedtype.Symbol" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#53-56">Source</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a><'file>: <a class="trait" href="trait.ObjectSymbol.html" title="trait object::read::ObjectSymbol">ObjectSymbol</a><'data>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></summary><div class="docblock"><p>A symbol in the object file.</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedtype.SymbolIterator" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#59-62">Source</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a><'file>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a><'file>>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></summary><div class="docblock"><p>An iterator for symbols in the object file.</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedtype.SymbolTable" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#65-72">Source</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a><'file>: <a class="trait" href="trait.ObjectSymbolTable.html" title="trait object::read::ObjectSymbolTable">ObjectSymbolTable</a><'data, Symbol = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a><'file>, SymbolIterator = Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolIterator" title="type object::read::Object::SymbolIterator">SymbolIterator</a><'file>>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></summary><div class="docblock"><p>A symbol table in the object file.</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedtype.DynamicRelocationIterator" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#78-81">Source</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a><'file>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = (<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="struct" href="struct.Relocation.html" title="struct object::read::Relocation">Relocation</a>)>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></summary><div class="docblock"><p>An iterator for the dynamic relocations in the file.</p>
|
||
<p>The first field in the item tuple is the address
|
||
that the relocation applies to.</p>
|
||
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.architecture" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#84">Source</a><h4 class="code-header">fn <a href="#tymethod.architecture" class="fn">architecture</a>(&self) -> <a class="enum" href="../enum.Architecture.html" title="enum object::Architecture">Architecture</a></h4></section></summary><div class="docblock"><p>Get the architecture type of the file.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.is_little_endian" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#106">Source</a><h4 class="code-header">fn <a href="#tymethod.is_little_endian" class="fn">is_little_endian</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Return true if the file is little endian, false if it is big endian.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.is_64" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#109">Source</a><h4 class="code-header">fn <a href="#tymethod.is_64" class="fn">is_64</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Return true if the file can contain 64-bit addresses.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.kind" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#112">Source</a><h4 class="code-header">fn <a href="#tymethod.kind" class="fn">kind</a>(&self) -> <a class="enum" href="enum.ObjectKind.html" title="enum object::read::ObjectKind">ObjectKind</a></h4></section></summary><div class="docblock"><p>Return the kind of this object.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.segments" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#120">Source</a><h4 class="code-header">fn <a href="#tymethod.segments" class="fn">segments</a>(&self) -> Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SegmentIterator" title="type object::read::Object::SegmentIterator">SegmentIterator</a><'_></h4></section></summary><div class="docblock"><p>Get an iterator for the loadable segments in the file.</p>
|
||
<p>For ELF, this is program headers with type <a href="../elf/constant.PT_LOAD.html" title="constant object::elf::PT_LOAD"><code>PT_LOAD</code></a>.
|
||
For Mach-O, this is load commands with type <a href="../macho/constant.LC_SEGMENT.html" title="constant object::macho::LC_SEGMENT"><code>LC_SEGMENT</code></a>
|
||
or <a href="../macho/constant.LC_SEGMENT_64.html" title="constant object::macho::LC_SEGMENT_64"><code>LC_SEGMENT_64</code></a>.
|
||
For PE, this is all sections.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.section_by_name_bytes" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#143-146">Source</a><h4 class="code-header">fn <a href="#tymethod.section_by_name_bytes" class="fn">section_by_name_bytes</a><'file>(
|
||
&'file self,
|
||
section_name: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a><'file>></h4></section></summary><div class="docblock"><p>Like <a href="trait.Object.html#method.section_by_name" title="method object::read::Object::section_by_name"><code>Self::section_by_name</code></a>, but allows names that are not UTF-8.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.section_by_index" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#155">Source</a><h4 class="code-header">fn <a href="#tymethod.section_by_index" class="fn">section_by_index</a>(&self, index: <a class="struct" href="struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a><'_>></h4></section></summary><div class="docblock"><p>Get the section at the given index.</p>
|
||
<p>The meaning of the index depends on the object file.</p>
|
||
<p>For some object files, this requires iterating through all sections.</p>
|
||
<p>Returns an error if the index is invalid.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.sections" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#158">Source</a><h4 class="code-header">fn <a href="#tymethod.sections" class="fn">sections</a>(&self) -> Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SectionIterator" title="type object::read::Object::SectionIterator">SectionIterator</a><'_></h4></section></summary><div class="docblock"><p>Get an iterator for the sections in the file.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.comdats" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#161">Source</a><h4 class="code-header">fn <a href="#tymethod.comdats" class="fn">comdats</a>(&self) -> Self::<a class="associatedtype" href="trait.Object.html#associatedtype.ComdatIterator" title="type object::read::Object::ComdatIterator">ComdatIterator</a><'_></h4></section></summary><div class="docblock"><p>Get an iterator for the COMDAT section groups in the file.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.symbol_table" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#164">Source</a><h4 class="code-header">fn <a href="#tymethod.symbol_table" class="fn">symbol_table</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolTable" title="type object::read::Object::SymbolTable">SymbolTable</a><'_>></h4></section></summary><div class="docblock"><p>Get the debugging symbol table, if any.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.symbol_by_index" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#171">Source</a><h4 class="code-header">fn <a href="#tymethod.symbol_by_index" class="fn">symbol_by_index</a>(&self, index: <a class="struct" href="struct.SymbolIndex.html" title="struct object::read::SymbolIndex">SymbolIndex</a>) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a><'_>></h4></section></summary><div class="docblock"><p>Get the debugging symbol at the given index.</p>
|
||
<p>The meaning of the index depends on the object file.</p>
|
||
<p>Returns an error if the index is invalid.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.symbols" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#178">Source</a><h4 class="code-header">fn <a href="#tymethod.symbols" class="fn">symbols</a>(&self) -> Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolIterator" title="type object::read::Object::SymbolIterator">SymbolIterator</a><'_></h4></section></summary><div class="docblock"><p>Get an iterator for the debugging symbols in the file.</p>
|
||
<p>This may skip over symbols that are malformed or unsupported.</p>
|
||
<p>For Mach-O files, this does not include STAB entries.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.dynamic_symbol_table" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#195">Source</a><h4 class="code-header">fn <a href="#tymethod.dynamic_symbol_table" class="fn">dynamic_symbol_table</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolTable" title="type object::read::Object::SymbolTable">SymbolTable</a><'_>></h4></section></summary><div class="docblock"><p>Get the dynamic linking symbol table, if any.</p>
|
||
<p>Only ELF has a separate dynamic linking symbol table.
|
||
Consider using <a href="trait.Object.html#tymethod.exports" title="method object::read::Object::exports"><code>Self::exports</code></a> or <a href="trait.Object.html#tymethod.imports" title="method object::read::Object::imports"><code>Self::imports</code></a> instead.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.dynamic_symbols" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#204">Source</a><h4 class="code-header">fn <a href="#tymethod.dynamic_symbols" class="fn">dynamic_symbols</a>(&self) -> Self::<a class="associatedtype" href="trait.Object.html#associatedtype.SymbolIterator" title="type object::read::Object::SymbolIterator">SymbolIterator</a><'_></h4></section></summary><div class="docblock"><p>Get an iterator for the dynamic linking symbols in the file.</p>
|
||
<p>This may skip over symbols that are malformed or unsupported.</p>
|
||
<p>Only ELF has dynamic linking symbols.
|
||
Other file formats will return an empty iterator.
|
||
Consider using <a href="trait.Object.html#tymethod.exports" title="method object::read::Object::exports"><code>Self::exports</code></a> or <a href="trait.Object.html#tymethod.imports" title="method object::read::Object::imports"><code>Self::imports</code></a> instead.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.dynamic_relocations" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#211">Source</a><h4 class="code-header">fn <a href="#tymethod.dynamic_relocations" class="fn">dynamic_relocations</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.DynamicRelocationIterator" title="type object::read::Object::DynamicRelocationIterator">DynamicRelocationIterator</a><'_>></h4></section></summary><div class="docblock"><p>Get the dynamic relocations for this file.</p>
|
||
<p>Symbol indices in these relocations refer to the dynamic symbol table.</p>
|
||
<p>Only ELF has dynamic relocations.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.imports" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#284">Source</a><h4 class="code-header">fn <a href="#tymethod.imports" class="fn">imports</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="struct.Import.html" title="struct object::read::Import">Import</a><'data>>></h4></section></summary><div class="docblock"><p>Get the imported symbols.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.exports" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#290">Source</a><h4 class="code-header">fn <a href="#tymethod.exports" class="fn">exports</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="struct.Export.html" title="struct object::read::Export">Export</a><'data>>></h4></section></summary><div class="docblock"><p>Get the exported symbols that expose both a name and an address.</p>
|
||
<p>Some file formats may provide other kinds of symbols that can be retrieved using
|
||
the low level API.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.has_debug_symbols" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#293">Source</a><h4 class="code-header">fn <a href="#tymethod.has_debug_symbols" class="fn">has_debug_symbols</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Return true if the file contains DWARF debug information sections, false if not.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.relative_address_base" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#328">Source</a><h4 class="code-header">fn <a href="#tymethod.relative_address_base" class="fn">relative_address_base</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Get the base address used for relative virtual addresses.</p>
|
||
<p>Currently this is only non-zero for PE.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.entry" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#331">Source</a><h4 class="code-header">fn <a href="#tymethod.entry" class="fn">entry</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Get the virtual address of the entry point of the binary.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.flags" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#334">Source</a><h4 class="code-header">fn <a href="#tymethod.flags" class="fn">flags</a>(&self) -> <a class="enum" href="../enum.FileFlags.html" title="enum object::FileFlags">FileFlags</a></h4></section></summary><div class="docblock"><p>File flags that are specific to each file format.</p>
|
||
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.sub_architecture" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#91-93">Source</a><h4 class="code-header">fn <a href="#method.sub_architecture" class="fn">sub_architecture</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="../enum.SubArchitecture.html" title="enum object::SubArchitecture">SubArchitecture</a>></h4></section></summary><div class="docblock"><p>Get the sub-architecture type of the file if known.</p>
|
||
<p>A value of <code>None</code> has a range of meanings: the file supports all
|
||
sub-architectures, the file does not explicitly specify a
|
||
sub-architecture, or the sub-architecture is currently unrecognized.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.endianness" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#97-103">Source</a><h4 class="code-header">fn <a href="#method.endianness" class="fn">endianness</a>(&self) -> <a class="enum" href="../endian/enum.Endianness.html" title="enum object::endian::Endianness">Endianness</a></h4></section></summary><div class="docblock"><p>Get the endianness of the file.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.section_by_name" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#138-140">Source</a><h4 class="code-header">fn <a href="#method.section_by_name" class="fn">section_by_name</a>(&self, section_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Section" title="type object::read::Object::Section">Section</a><'_>></h4></section></summary><div class="docblock"><p>Get the section named <code>section_name</code>, if such a section exists.</p>
|
||
<p>If <code>section_name</code> starts with a ‘.’ then it is treated as a system
|
||
section name, and is compared using the conventions specific to the
|
||
object file format. This includes:</p>
|
||
<ul>
|
||
<li>if “.debug_str_offsets” is requested for a Mach-O object file, then
|
||
the actual section name that is searched for is “__debug_str_offs”.</li>
|
||
<li>if “.debug_info” is requested for an ELF object file, then
|
||
“.zdebug_info” may be returned (and similarly for other debug
|
||
sections). Similarly, if “.debug_info” is requested for a Mach-O
|
||
object file, then “__zdebug_info” may be returned.</li>
|
||
</ul>
|
||
<p>For some object files, multiple segments may contain sections with the
|
||
same name. In this case, the first matching section will be used.</p>
|
||
<p>This method skips over sections with invalid names.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.symbol_by_name" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#181-183">Source</a><h4 class="code-header">fn <a href="#method.symbol_by_name" class="fn">symbol_by_name</a><'file>(
|
||
&'file self,
|
||
symbol_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a><'file>></h4></section></summary><div class="docblock"><p>Get the symbol named <code>symbol_name</code>, if the symbol exists.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.symbol_by_name_bytes" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#186-189">Source</a><h4 class="code-header">fn <a href="#method.symbol_by_name_bytes" class="fn">symbol_by_name_bytes</a><'file>(
|
||
&'file self,
|
||
symbol_name: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="trait.Object.html#associatedtype.Symbol" title="type object::read::Object::Symbol">Symbol</a><'file>></h4></section></summary><div class="docblock"><p>Like <a href="trait.Object.html#method.symbol_by_name" title="method object::read::Object::symbol_by_name"><code>Self::symbol_by_name</code></a>, but allows names that are not UTF-8.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.symbol_map" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#217-274">Source</a><h4 class="code-header">fn <a href="#method.symbol_map" class="fn">symbol_map</a>(&self) -> <a class="struct" href="struct.SymbolMap.html" title="struct object::read::SymbolMap">SymbolMap</a><<a class="struct" href="struct.SymbolMapName.html" title="struct object::read::SymbolMapName">SymbolMapName</a><'data>></h4></section></summary><div class="docblock"><p>Construct a map from addresses to symbol names.</p>
|
||
<p>The map will only contain defined text and data symbols.
|
||
The dynamic symbol table will only be used if there are no debugging symbols.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.object_map" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#279-281">Source</a><h4 class="code-header">fn <a href="#method.object_map" class="fn">object_map</a>(&self) -> <a class="struct" href="struct.ObjectMap.html" title="struct object::read::ObjectMap">ObjectMap</a><'data></h4></section></summary><div class="docblock"><p>Construct a map from addresses to symbol names and object file names.</p>
|
||
<p>This is derived from Mach-O STAB entries.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.mach_uuid" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#297-299">Source</a><h4 class="code-header">fn <a href="#method.mach_uuid" class="fn">mach_uuid</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">16</a>]>></h4></section></summary><div class="docblock"><p>The UUID from a Mach-O <a href="../macho/constant.LC_UUID.html" title="constant object::macho::LC_UUID"><code>LC_UUID</code></a> load command.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.build_id" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#303-305">Source</a><h4 class="code-header">fn <a href="#method.build_id" class="fn">build_id</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'data [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]>></h4></section></summary><div class="docblock"><p>The build ID from an ELF <a href="../elf/constant.NT_GNU_BUILD_ID.html" title="constant object::elf::NT_GNU_BUILD_ID"><code>NT_GNU_BUILD_ID</code></a> note.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.gnu_debuglink" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#309-311">Source</a><h4 class="code-header">fn <a href="#method.gnu_debuglink" class="fn">gnu_debuglink</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(&'data [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)>></h4></section></summary><div class="docblock"><p>The filename and CRC from a <code>.gnu_debuglink</code> section.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.gnu_debugaltlink" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#315-317">Source</a><h4 class="code-header">fn <a href="#method.gnu_debugaltlink" class="fn">gnu_debugaltlink</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(&'data [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], &'data [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>])>></h4></section></summary><div class="docblock"><p>The filename and build ID from a <code>.gnu_debugaltlink</code> section.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.pdb_info" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#321-323">Source</a><h4 class="code-header">fn <a href="#method.pdb_info" class="fn">pdb_info</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.CodeView.html" title="struct object::read::CodeView">CodeView</a><'_>>></h4></section></summary><div class="docblock"><p>The filename and GUID from the PE CodeView section.</p>
|
||
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><div class="negative-marker"></div><details class="toggle implementors-toggle"><summary><section id="impl-Object%3C'data%3E-for-ElfFile%3C'data,+Elf,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/elf/file.rs.html#185-526">Source</a><a href="#impl-Object%3C'data%3E-for-ElfFile%3C'data,+Elf,+R%3E" class="anchor">§</a><h3 class="code-header">impl<'data, Elf, R> <a class="trait" href="trait.Object.html" title="trait object::read::Object">Object</a><'data> for <a class="struct" href="elf/struct.ElfFile.html" title="struct object::read::elf::ElfFile">ElfFile</a><'data, Elf, R><div class="where">where
|
||
Elf: <a class="trait" href="elf/trait.FileHeader.html" title="trait object::read::elf::FileHeader">FileHeader</a>,
|
||
R: <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Segment-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/file.rs.html#190-194">Source</a><a href="#associatedtype.Segment-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a><'file> = <a class="struct" href="elf/struct.ElfSegment.html" title="struct object::read::elf::ElfSegment">ElfSegment</a><'data, 'file, Elf, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SegmentIterator-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/file.rs.html#195-199">Source</a><a href="#associatedtype.SegmentIterator-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a><'file> = <a class="struct" href="elf/struct.ElfSegmentIterator.html" title="struct object::read::elf::ElfSegmentIterator">ElfSegmentIterator</a><'data, 'file, Elf, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Section-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/file.rs.html#200-204">Source</a><a href="#associatedtype.Section-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a><'file> = <a class="struct" href="elf/struct.ElfSection.html" title="struct object::read::elf::ElfSection">ElfSection</a><'data, 'file, Elf, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SectionIterator-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/file.rs.html#205-209">Source</a><a href="#associatedtype.SectionIterator-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a><'file> = <a class="struct" href="elf/struct.ElfSectionIterator.html" title="struct object::read::elf::ElfSectionIterator">ElfSectionIterator</a><'data, 'file, Elf, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Comdat-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/file.rs.html#210-214">Source</a><a href="#associatedtype.Comdat-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a><'file> = <a class="struct" href="elf/struct.ElfComdat.html" title="struct object::read::elf::ElfComdat">ElfComdat</a><'data, 'file, Elf, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.ComdatIterator-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/file.rs.html#215-219">Source</a><a href="#associatedtype.ComdatIterator-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a><'file> = <a class="struct" href="elf/struct.ElfComdatIterator.html" title="struct object::read::elf::ElfComdatIterator">ElfComdatIterator</a><'data, 'file, Elf, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Symbol-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/file.rs.html#220-224">Source</a><a href="#associatedtype.Symbol-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a><'file> = <a class="struct" href="elf/struct.ElfSymbol.html" title="struct object::read::elf::ElfSymbol">ElfSymbol</a><'data, 'file, Elf, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolIterator-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/file.rs.html#225-229">Source</a><a href="#associatedtype.SymbolIterator-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a><'file> = <a class="struct" href="elf/struct.ElfSymbolIterator.html" title="struct object::read::elf::ElfSymbolIterator">ElfSymbolIterator</a><'data, 'file, Elf, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolTable-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/file.rs.html#230-234">Source</a><a href="#associatedtype.SymbolTable-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a><'file> = <a class="struct" href="elf/struct.ElfSymbolTable.html" title="struct object::read::elf::ElfSymbolTable">ElfSymbolTable</a><'data, 'file, Elf, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.DynamicRelocationIterator-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/file.rs.html#235-239">Source</a><a href="#associatedtype.DynamicRelocationIterator-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a><'file> = <a class="struct" href="elf/struct.ElfDynamicRelocationIterator.html" title="struct object::read::elf::ElfDynamicRelocationIterator">ElfDynamicRelocationIterator</a><'data, 'file, Elf, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Object%3C'data%3E-for-MachOFile%3C'data,+Mach,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/macho/file.rs.html#219-514">Source</a><a href="#impl-Object%3C'data%3E-for-MachOFile%3C'data,+Mach,+R%3E" class="anchor">§</a><h3 class="code-header">impl<'data, Mach, R> <a class="trait" href="trait.Object.html" title="trait object::read::Object">Object</a><'data> for <a class="struct" href="macho/struct.MachOFile.html" title="struct object::read::macho::MachOFile">MachOFile</a><'data, Mach, R><div class="where">where
|
||
Mach: <a class="trait" href="macho/trait.MachHeader.html" title="trait object::read::macho::MachHeader">MachHeader</a>,
|
||
R: <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Segment-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/macho/file.rs.html#224-228">Source</a><a href="#associatedtype.Segment-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a><'file> = <a class="struct" href="macho/struct.MachOSegment.html" title="struct object::read::macho::MachOSegment">MachOSegment</a><'data, 'file, Mach, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SegmentIterator-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/macho/file.rs.html#229-233">Source</a><a href="#associatedtype.SegmentIterator-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a><'file> = <a class="struct" href="macho/struct.MachOSegmentIterator.html" title="struct object::read::macho::MachOSegmentIterator">MachOSegmentIterator</a><'data, 'file, Mach, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Section-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/macho/file.rs.html#234-238">Source</a><a href="#associatedtype.Section-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a><'file> = <a class="struct" href="macho/struct.MachOSection.html" title="struct object::read::macho::MachOSection">MachOSection</a><'data, 'file, Mach, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SectionIterator-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/macho/file.rs.html#239-243">Source</a><a href="#associatedtype.SectionIterator-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a><'file> = <a class="struct" href="macho/struct.MachOSectionIterator.html" title="struct object::read::macho::MachOSectionIterator">MachOSectionIterator</a><'data, 'file, Mach, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Comdat-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/macho/file.rs.html#244-248">Source</a><a href="#associatedtype.Comdat-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a><'file> = <a class="struct" href="macho/struct.MachOComdat.html" title="struct object::read::macho::MachOComdat">MachOComdat</a><'data, 'file, Mach, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.ComdatIterator-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/macho/file.rs.html#249-253">Source</a><a href="#associatedtype.ComdatIterator-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a><'file> = <a class="struct" href="macho/struct.MachOComdatIterator.html" title="struct object::read::macho::MachOComdatIterator">MachOComdatIterator</a><'data, 'file, Mach, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Symbol-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/macho/file.rs.html#254-258">Source</a><a href="#associatedtype.Symbol-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a><'file> = <a class="struct" href="macho/struct.MachOSymbol.html" title="struct object::read::macho::MachOSymbol">MachOSymbol</a><'data, 'file, Mach, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolIterator-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/macho/file.rs.html#259-263">Source</a><a href="#associatedtype.SymbolIterator-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a><'file> = <a class="struct" href="macho/struct.MachOSymbolIterator.html" title="struct object::read::macho::MachOSymbolIterator">MachOSymbolIterator</a><'data, 'file, Mach, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolTable-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/macho/file.rs.html#264-268">Source</a><a href="#associatedtype.SymbolTable-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a><'file> = <a class="struct" href="macho/struct.MachOSymbolTable.html" title="struct object::read::macho::MachOSymbolTable">MachOSymbolTable</a><'data, 'file, Mach, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.DynamicRelocationIterator-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/macho/file.rs.html#269-273">Source</a><a href="#associatedtype.DynamicRelocationIterator-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a><'file> = <a class="struct" href="struct.NoDynamicRelocationIterator.html" title="struct object::read::NoDynamicRelocationIterator">NoDynamicRelocationIterator</a>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Object%3C'data%3E-for-PeFile%3C'data,+Pe,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/pe/file.rs.html#141-419">Source</a><a href="#impl-Object%3C'data%3E-for-PeFile%3C'data,+Pe,+R%3E" class="anchor">§</a><h3 class="code-header">impl<'data, Pe, R> <a class="trait" href="trait.Object.html" title="trait object::read::Object">Object</a><'data> for <a class="struct" href="pe/struct.PeFile.html" title="struct object::read::pe::PeFile">PeFile</a><'data, Pe, R><div class="where">where
|
||
Pe: <a class="trait" href="pe/trait.ImageNtHeaders.html" title="trait object::read::pe::ImageNtHeaders">ImageNtHeaders</a>,
|
||
R: <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Segment-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/pe/file.rs.html#146-150">Source</a><a href="#associatedtype.Segment-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a><'file> = <a class="struct" href="pe/struct.PeSegment.html" title="struct object::read::pe::PeSegment">PeSegment</a><'data, 'file, Pe, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SegmentIterator-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/pe/file.rs.html#151-155">Source</a><a href="#associatedtype.SegmentIterator-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a><'file> = <a class="struct" href="pe/struct.PeSegmentIterator.html" title="struct object::read::pe::PeSegmentIterator">PeSegmentIterator</a><'data, 'file, Pe, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Section-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/pe/file.rs.html#156-160">Source</a><a href="#associatedtype.Section-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a><'file> = <a class="struct" href="pe/struct.PeSection.html" title="struct object::read::pe::PeSection">PeSection</a><'data, 'file, Pe, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SectionIterator-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/pe/file.rs.html#161-165">Source</a><a href="#associatedtype.SectionIterator-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a><'file> = <a class="struct" href="pe/struct.PeSectionIterator.html" title="struct object::read::pe::PeSectionIterator">PeSectionIterator</a><'data, 'file, Pe, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Comdat-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/pe/file.rs.html#166-170">Source</a><a href="#associatedtype.Comdat-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a><'file> = <a class="struct" href="pe/struct.PeComdat.html" title="struct object::read::pe::PeComdat">PeComdat</a><'data, 'file, Pe, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.ComdatIterator-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/pe/file.rs.html#171-175">Source</a><a href="#associatedtype.ComdatIterator-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a><'file> = <a class="struct" href="pe/struct.PeComdatIterator.html" title="struct object::read::pe::PeComdatIterator">PeComdatIterator</a><'data, 'file, Pe, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Symbol-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/pe/file.rs.html#176-180">Source</a><a href="#associatedtype.Symbol-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a><'file> = <a class="struct" href="coff/struct.CoffSymbol.html" title="struct object::read::coff::CoffSymbol">CoffSymbol</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolIterator-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/pe/file.rs.html#181-185">Source</a><a href="#associatedtype.SymbolIterator-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a><'file> = <a class="struct" href="coff/struct.CoffSymbolIterator.html" title="struct object::read::coff::CoffSymbolIterator">CoffSymbolIterator</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolTable-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/pe/file.rs.html#186-190">Source</a><a href="#associatedtype.SymbolTable-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a><'file> = <a class="struct" href="coff/struct.CoffSymbolTable.html" title="struct object::read::coff::CoffSymbolTable">CoffSymbolTable</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.DynamicRelocationIterator-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/pe/file.rs.html#191-195">Source</a><a href="#associatedtype.DynamicRelocationIterator-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a><'file> = <a class="struct" href="struct.NoDynamicRelocationIterator.html" title="struct object::read::NoDynamicRelocationIterator">NoDynamicRelocationIterator</a>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Object%3C'data%3E-for-File%3C'data,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/any.rs.html#306-528">Source</a><a href="#impl-Object%3C'data%3E-for-File%3C'data,+R%3E" class="anchor">§</a><h3 class="code-header">impl<'data, R> <a class="trait" href="trait.Object.html" title="trait object::read::Object">Object</a><'data> for <a class="enum" href="enum.File.html" title="enum object::read::File">File</a><'data, R><div class="where">where
|
||
R: <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Segment-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/any.rs.html#310-314">Source</a><a href="#associatedtype.Segment-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a><'file> = <a class="struct" href="struct.Segment.html" title="struct object::read::Segment">Segment</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SegmentIterator-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/any.rs.html#315-319">Source</a><a href="#associatedtype.SegmentIterator-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a><'file> = <a class="struct" href="struct.SegmentIterator.html" title="struct object::read::SegmentIterator">SegmentIterator</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Section-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/any.rs.html#320-324">Source</a><a href="#associatedtype.Section-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a><'file> = <a class="struct" href="struct.Section.html" title="struct object::read::Section">Section</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SectionIterator-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/any.rs.html#325-329">Source</a><a href="#associatedtype.SectionIterator-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a><'file> = <a class="struct" href="struct.SectionIterator.html" title="struct object::read::SectionIterator">SectionIterator</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Comdat-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/any.rs.html#330-334">Source</a><a href="#associatedtype.Comdat-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a><'file> = <a class="struct" href="struct.Comdat.html" title="struct object::read::Comdat">Comdat</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.ComdatIterator-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/any.rs.html#335-339">Source</a><a href="#associatedtype.ComdatIterator-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a><'file> = <a class="struct" href="struct.ComdatIterator.html" title="struct object::read::ComdatIterator">ComdatIterator</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Symbol-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/any.rs.html#340-344">Source</a><a href="#associatedtype.Symbol-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a><'file> = <a class="struct" href="struct.Symbol.html" title="struct object::read::Symbol">Symbol</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolIterator-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/any.rs.html#345-349">Source</a><a href="#associatedtype.SymbolIterator-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a><'file> = <a class="struct" href="struct.SymbolIterator.html" title="struct object::read::SymbolIterator">SymbolIterator</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolTable-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/any.rs.html#350-354">Source</a><a href="#associatedtype.SymbolTable-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a><'file> = <a class="struct" href="struct.SymbolTable.html" title="struct object::read::SymbolTable">SymbolTable</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.DynamicRelocationIterator-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/any.rs.html#355-359">Source</a><a href="#associatedtype.DynamicRelocationIterator-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a><'file> = <a class="struct" href="struct.DynamicRelocationIterator.html" title="struct object::read::DynamicRelocationIterator">DynamicRelocationIterator</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Object%3C'data%3E-for-CoffFile%3C'data,+R,+Coff%3E" class="impl"><a class="src rightside" href="../../src/object/read/coff/file.rs.html#88-279">Source</a><a href="#impl-Object%3C'data%3E-for-CoffFile%3C'data,+R,+Coff%3E" class="anchor">§</a><h3 class="code-header">impl<'data, R, Coff> <a class="trait" href="trait.Object.html" title="trait object::read::Object">Object</a><'data> for <a class="struct" href="coff/struct.CoffFile.html" title="struct object::read::coff::CoffFile">CoffFile</a><'data, R, Coff><div class="where">where
|
||
R: <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>,
|
||
Coff: <a class="trait" href="coff/trait.CoffHeader.html" title="trait object::read::coff::CoffHeader">CoffHeader</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Segment-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/coff/file.rs.html#93-97">Source</a><a href="#associatedtype.Segment-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a><'file> = <a class="struct" href="coff/struct.CoffSegment.html" title="struct object::read::coff::CoffSegment">CoffSegment</a><'data, 'file, R, Coff>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SegmentIterator-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/coff/file.rs.html#98-102">Source</a><a href="#associatedtype.SegmentIterator-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a><'file> = <a class="struct" href="coff/struct.CoffSegmentIterator.html" title="struct object::read::coff::CoffSegmentIterator">CoffSegmentIterator</a><'data, 'file, R, Coff>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Section-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/coff/file.rs.html#103-107">Source</a><a href="#associatedtype.Section-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a><'file> = <a class="struct" href="coff/struct.CoffSection.html" title="struct object::read::coff::CoffSection">CoffSection</a><'data, 'file, R, Coff>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SectionIterator-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/coff/file.rs.html#108-112">Source</a><a href="#associatedtype.SectionIterator-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a><'file> = <a class="struct" href="coff/struct.CoffSectionIterator.html" title="struct object::read::coff::CoffSectionIterator">CoffSectionIterator</a><'data, 'file, R, Coff>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Comdat-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/coff/file.rs.html#113-117">Source</a><a href="#associatedtype.Comdat-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a><'file> = <a class="struct" href="coff/struct.CoffComdat.html" title="struct object::read::coff::CoffComdat">CoffComdat</a><'data, 'file, R, Coff>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.ComdatIterator-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/coff/file.rs.html#118-122">Source</a><a href="#associatedtype.ComdatIterator-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a><'file> = <a class="struct" href="coff/struct.CoffComdatIterator.html" title="struct object::read::coff::CoffComdatIterator">CoffComdatIterator</a><'data, 'file, R, Coff>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Symbol-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/coff/file.rs.html#123-127">Source</a><a href="#associatedtype.Symbol-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a><'file> = <a class="struct" href="coff/struct.CoffSymbol.html" title="struct object::read::coff::CoffSymbol">CoffSymbol</a><'data, 'file, R, Coff>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolIterator-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/coff/file.rs.html#128-132">Source</a><a href="#associatedtype.SymbolIterator-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a><'file> = <a class="struct" href="coff/struct.CoffSymbolIterator.html" title="struct object::read::coff::CoffSymbolIterator">CoffSymbolIterator</a><'data, 'file, R, Coff>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolTable-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/coff/file.rs.html#133-137">Source</a><a href="#associatedtype.SymbolTable-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a><'file> = <a class="struct" href="coff/struct.CoffSymbolTable.html" title="struct object::read::coff::CoffSymbolTable">CoffSymbolTable</a><'data, 'file, R, Coff>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.DynamicRelocationIterator-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/coff/file.rs.html#138-142">Source</a><a href="#associatedtype.DynamicRelocationIterator-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a><'file> = <a class="struct" href="struct.NoDynamicRelocationIterator.html" title="struct object::read::NoDynamicRelocationIterator">NoDynamicRelocationIterator</a>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Object%3C'data%3E-for-WasmFile%3C'data,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#501-678">Source</a><a href="#impl-Object%3C'data%3E-for-WasmFile%3C'data,+R%3E" class="anchor">§</a><h3 class="code-header">impl<'data, R: <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>> <a class="trait" href="trait.Object.html" title="trait object::read::Object">Object</a><'data> for <a class="struct" href="wasm/struct.WasmFile.html" title="struct object::read::wasm::WasmFile">WasmFile</a><'data, R></h3></section></summary><div class="impl-items"><section id="associatedtype.Segment-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#502-506">Source</a><a href="#associatedtype.Segment-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a><'file> = <a class="struct" href="wasm/struct.WasmSegment.html" title="struct object::read::wasm::WasmSegment">WasmSegment</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SegmentIterator-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#507-511">Source</a><a href="#associatedtype.SegmentIterator-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a><'file> = <a class="struct" href="wasm/struct.WasmSegmentIterator.html" title="struct object::read::wasm::WasmSegmentIterator">WasmSegmentIterator</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Section-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#512-516">Source</a><a href="#associatedtype.Section-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a><'file> = <a class="struct" href="wasm/struct.WasmSection.html" title="struct object::read::wasm::WasmSection">WasmSection</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SectionIterator-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#517-521">Source</a><a href="#associatedtype.SectionIterator-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a><'file> = <a class="struct" href="wasm/struct.WasmSectionIterator.html" title="struct object::read::wasm::WasmSectionIterator">WasmSectionIterator</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Comdat-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#522-526">Source</a><a href="#associatedtype.Comdat-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a><'file> = <a class="struct" href="wasm/struct.WasmComdat.html" title="struct object::read::wasm::WasmComdat">WasmComdat</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.ComdatIterator-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#527-531">Source</a><a href="#associatedtype.ComdatIterator-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a><'file> = <a class="struct" href="wasm/struct.WasmComdatIterator.html" title="struct object::read::wasm::WasmComdatIterator">WasmComdatIterator</a><'data, 'file, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Symbol-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#532-536">Source</a><a href="#associatedtype.Symbol-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a><'file> = <a class="struct" href="wasm/struct.WasmSymbol.html" title="struct object::read::wasm::WasmSymbol">WasmSymbol</a><'data, 'file>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolIterator-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#537-541">Source</a><a href="#associatedtype.SymbolIterator-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a><'file> = <a class="struct" href="wasm/struct.WasmSymbolIterator.html" title="struct object::read::wasm::WasmSymbolIterator">WasmSymbolIterator</a><'data, 'file>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolTable-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#542-546">Source</a><a href="#associatedtype.SymbolTable-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a><'file> = <a class="struct" href="wasm/struct.WasmSymbolTable.html" title="struct object::read::wasm::WasmSymbolTable">WasmSymbolTable</a><'data, 'file>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.DynamicRelocationIterator-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#547-551">Source</a><a href="#associatedtype.DynamicRelocationIterator-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a><'file> = <a class="struct" href="struct.NoDynamicRelocationIterator.html" title="struct object::read::NoDynamicRelocationIterator">NoDynamicRelocationIterator</a>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Object%3C'data%3E-for-XcoffFile%3C'data,+Xcoff,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/xcoff/file.rs.html#108-302">Source</a><a href="#impl-Object%3C'data%3E-for-XcoffFile%3C'data,+Xcoff,+R%3E" class="anchor">§</a><h3 class="code-header">impl<'data, Xcoff, R> <a class="trait" href="trait.Object.html" title="trait object::read::Object">Object</a><'data> for <a class="struct" href="xcoff/struct.XcoffFile.html" title="struct object::read::xcoff::XcoffFile">XcoffFile</a><'data, Xcoff, R><div class="where">where
|
||
Xcoff: <a class="trait" href="xcoff/trait.FileHeader.html" title="trait object::read::xcoff::FileHeader">FileHeader</a>,
|
||
R: <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Segment-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/xcoff/file.rs.html#113-117">Source</a><a href="#associatedtype.Segment-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Segment" class="associatedtype">Segment</a><'file> = <a class="struct" href="xcoff/struct.XcoffSegment.html" title="struct object::read::xcoff::XcoffSegment">XcoffSegment</a><'data, 'file, Xcoff, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SegmentIterator-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/xcoff/file.rs.html#118-122">Source</a><a href="#associatedtype.SegmentIterator-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SegmentIterator" class="associatedtype">SegmentIterator</a><'file> = <a class="struct" href="xcoff/struct.XcoffSegmentIterator.html" title="struct object::read::xcoff::XcoffSegmentIterator">XcoffSegmentIterator</a><'data, 'file, Xcoff, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Section-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/xcoff/file.rs.html#123-127">Source</a><a href="#associatedtype.Section-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Section" class="associatedtype">Section</a><'file> = <a class="struct" href="xcoff/struct.XcoffSection.html" title="struct object::read::xcoff::XcoffSection">XcoffSection</a><'data, 'file, Xcoff, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SectionIterator-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/xcoff/file.rs.html#128-132">Source</a><a href="#associatedtype.SectionIterator-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SectionIterator" class="associatedtype">SectionIterator</a><'file> = <a class="struct" href="xcoff/struct.XcoffSectionIterator.html" title="struct object::read::xcoff::XcoffSectionIterator">XcoffSectionIterator</a><'data, 'file, Xcoff, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Comdat-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/xcoff/file.rs.html#133-137">Source</a><a href="#associatedtype.Comdat-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Comdat" class="associatedtype">Comdat</a><'file> = <a class="struct" href="xcoff/struct.XcoffComdat.html" title="struct object::read::xcoff::XcoffComdat">XcoffComdat</a><'data, 'file, Xcoff, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.ComdatIterator-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/xcoff/file.rs.html#138-142">Source</a><a href="#associatedtype.ComdatIterator-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.ComdatIterator" class="associatedtype">ComdatIterator</a><'file> = <a class="struct" href="xcoff/struct.XcoffComdatIterator.html" title="struct object::read::xcoff::XcoffComdatIterator">XcoffComdatIterator</a><'data, 'file, Xcoff, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.Symbol-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/xcoff/file.rs.html#143-147">Source</a><a href="#associatedtype.Symbol-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Symbol" class="associatedtype">Symbol</a><'file> = <a class="struct" href="xcoff/struct.XcoffSymbol.html" title="struct object::read::xcoff::XcoffSymbol">XcoffSymbol</a><'data, 'file, Xcoff, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolIterator-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/xcoff/file.rs.html#148-152">Source</a><a href="#associatedtype.SymbolIterator-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolIterator" class="associatedtype">SymbolIterator</a><'file> = <a class="struct" href="xcoff/struct.XcoffSymbolIterator.html" title="struct object::read::xcoff::XcoffSymbolIterator">XcoffSymbolIterator</a><'data, 'file, Xcoff, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.SymbolTable-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/xcoff/file.rs.html#153-157">Source</a><a href="#associatedtype.SymbolTable-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.SymbolTable" class="associatedtype">SymbolTable</a><'file> = <a class="struct" href="xcoff/struct.XcoffSymbolTable.html" title="struct object::read::xcoff::XcoffSymbolTable">XcoffSymbolTable</a><'data, 'file, Xcoff, R>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section><section id="associatedtype.DynamicRelocationIterator-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/xcoff/file.rs.html#158-162">Source</a><a href="#associatedtype.DynamicRelocationIterator-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.DynamicRelocationIterator" class="associatedtype">DynamicRelocationIterator</a><'file> = <a class="struct" href="struct.NoDynamicRelocationIterator.html" title="struct object::read::NoDynamicRelocationIterator">NoDynamicRelocationIterator</a>
|
||
<span class="where">where
|
||
Self: 'file,
|
||
'data: 'file</span></h4></section></div></details></div><script src="../../trait.impl/object/read/traits/trait.Object.js" async></script></section></div></main></body></html> |