mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-10 10:08:23 +00:00
66 lines
31 KiB
HTML
66 lines
31 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="A section in an `Object`."><title>ObjectSection in object::read - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="object" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../object/index.html">object</a><span class="version">0.32.2</span></h2></div><h2 class="location"><a href="#">ObjectSection</a></h2><div class="sidebar-elems"><section><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.RelocationIterator">RelocationIterator</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.address">address</a></li><li><a href="#tymethod.align">align</a></li><li><a href="#tymethod.compressed_data">compressed_data</a></li><li><a href="#tymethod.compressed_file_range">compressed_file_range</a></li><li><a href="#tymethod.data">data</a></li><li><a href="#tymethod.data_range">data_range</a></li><li><a href="#tymethod.file_range">file_range</a></li><li><a href="#tymethod.flags">flags</a></li><li><a href="#tymethod.index">index</a></li><li><a href="#tymethod.kind">kind</a></li><li><a href="#tymethod.name">name</a></li><li><a href="#tymethod.name_bytes">name_bytes</a></li><li><a href="#tymethod.relocations">relocations</a></li><li><a href="#tymethod.segment_name">segment_name</a></li><li><a href="#tymethod.segment_name_bytes">segment_name_bytes</a></li><li><a href="#tymethod.size">size</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.uncompressed_data">uncompressed_data</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In object::read</a></h2></div></nav><div class="sidebar-resizer"></div>
|
||
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../object/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../index.html">object</a>::<wbr><a href="index.html">read</a>::<wbr><a class="trait" href="#">ObjectSection</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/object/read/traits.rs.html#344-424">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait ObjectSection<'data>: Sealed {
|
||
type <a href="#associatedtype.RelocationIterator" class="associatedtype">RelocationIterator</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/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/1.76.0/std/primitive.u64.html">u64</a>, <a class="struct" href="struct.Relocation.html" title="struct object::read::Relocation">Relocation</a>)>;
|
||
|
||
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 17 methods</span></summary> // Required methods
|
||
fn <a href="#tymethod.index" class="fn">index</a>(&self) -> <a class="struct" href="struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.address" class="fn">address</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.size" class="fn">size</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.align" class="fn">align</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.file_range" class="fn">file_range</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>)>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.data" class="fn">data</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><&'data [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.data_range" class="fn">data_range</a>(&self, address: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>, size: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'data [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.compressed_file_range" class="fn">compressed_file_range</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="struct.CompressedFileRange.html" title="struct object::read::CompressedFileRange">CompressedFileRange</a>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.compressed_data" class="fn">compressed_data</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="struct.CompressedData.html" title="struct object::read::CompressedData">CompressedData</a><'data>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.name_bytes" class="fn">name_bytes</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><&[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.name" class="fn">name</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><&<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.segment_name_bytes" class="fn">segment_name_bytes</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/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.segment_name" class="fn">segment_name</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/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.kind" class="fn">kind</a>(&self) -> <a class="enum" href="../enum.SectionKind.html" title="enum object::SectionKind">SectionKind</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.relocations" class="fn">relocations</a>(&self) -> Self::<a class="associatedtype" href="trait.ObjectSection.html#associatedtype.RelocationIterator" title="type object::read::ObjectSection::RelocationIterator">RelocationIterator</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.flags" class="fn">flags</a>(&self) -> <a class="enum" href="../enum.SectionFlags.html" title="enum object::SectionFlags">SectionFlags</a>;
|
||
|
||
// Provided method
|
||
fn <a href="#method.uncompressed_data" class="fn">uncompressed_data</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/1.76.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'data, [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]>> { ... }
|
||
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A section in an <a href="trait.Object.html" title="trait object::read::Object"><code>Object</code></a>.</p>
|
||
<p>This trait is part of 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.RelocationIterator" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#349">source</a><h4 class="code-header">type <a href="#associatedtype.RelocationIterator" class="associatedtype">RelocationIterator</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/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/1.76.0/std/primitive.u64.html">u64</a>, <a class="struct" href="struct.Relocation.html" title="struct object::read::Relocation">Relocation</a>)></h4></section></summary><div class="docblock"><p>An iterator for the relocations for a section.</p>
|
||
<p>The first field in the item tuple is the section offset
|
||
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.index" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#352">source</a><h4 class="code-header">fn <a href="#tymethod.index" class="fn">index</a>(&self) -> <a class="struct" href="struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a></h4></section></summary><div class="docblock"><p>Returns the section index.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.address" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#355">source</a><h4 class="code-header">fn <a href="#tymethod.address" class="fn">address</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Returns the address of the section.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.size" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#358">source</a><h4 class="code-header">fn <a href="#tymethod.size" class="fn">size</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Returns the size of the section in memory.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.align" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#361">source</a><h4 class="code-header">fn <a href="#tymethod.align" class="fn">align</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Returns the alignment of the section in memory.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.file_range" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#364">source</a><h4 class="code-header">fn <a href="#tymethod.file_range" class="fn">file_range</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>)></h4></section></summary><div class="docblock"><p>Returns offset and size of on-disk segment (if any).</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.data" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#372">source</a><h4 class="code-header">fn <a href="#tymethod.data" class="fn">data</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><&'data [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]></h4></section></summary><div class="docblock"><p>Returns the raw contents of the section.</p>
|
||
<p>The length of this data may be different from the size of the
|
||
section in memory.</p>
|
||
<p>This does not do any decompression.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.data_range" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#379">source</a><h4 class="code-header">fn <a href="#tymethod.data_range" class="fn">data_range</a>(&self, address: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>, size: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u64.html">u64</a>) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'data [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]>></h4></section></summary><div class="docblock"><p>Return the raw contents of the section data in the given range.</p>
|
||
<p>This does not do any decompression.</p>
|
||
<p>Returns <code>Ok(None)</code> if the section does not contain the given range.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.compressed_file_range" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#383">source</a><h4 class="code-header">fn <a href="#tymethod.compressed_file_range" class="fn">compressed_file_range</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="struct.CompressedFileRange.html" title="struct object::read::CompressedFileRange">CompressedFileRange</a>></h4></section></summary><div class="docblock"><p>Returns the potentially compressed file range of the section,
|
||
along with information about the compression.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.compressed_data" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#387">source</a><h4 class="code-header">fn <a href="#tymethod.compressed_data" class="fn">compressed_data</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="struct.CompressedData.html" title="struct object::read::CompressedData">CompressedData</a><'data>></h4></section></summary><div class="docblock"><p>Returns the potentially compressed contents of the section,
|
||
along with information about the compression.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.name_bytes" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#401">source</a><h4 class="code-header">fn <a href="#tymethod.name_bytes" class="fn">name_bytes</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><&[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]></h4></section></summary><div class="docblock"><p>Returns the name of the section.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.name" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#406">source</a><h4 class="code-header">fn <a href="#tymethod.name" class="fn">name</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><&<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>></h4></section></summary><div class="docblock"><p>Returns the name of the section.</p>
|
||
<p>Returns an error if the name is not UTF-8.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.segment_name_bytes" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#409">source</a><h4 class="code-header">fn <a href="#tymethod.segment_name_bytes" class="fn">segment_name_bytes</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/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]>></h4></section></summary><div class="docblock"><p>Returns the name of the segment for this section.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.segment_name" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#414">source</a><h4 class="code-header">fn <a href="#tymethod.segment_name" class="fn">segment_name</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/1.76.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>>></h4></section></summary><div class="docblock"><p>Returns the name of the segment for this section.</p>
|
||
<p>Returns an error if the name is not UTF-8.</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#417">source</a><h4 class="code-header">fn <a href="#tymethod.kind" class="fn">kind</a>(&self) -> <a class="enum" href="../enum.SectionKind.html" title="enum object::SectionKind">SectionKind</a></h4></section></summary><div class="docblock"><p>Return the kind of this section.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.relocations" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#420">source</a><h4 class="code-header">fn <a href="#tymethod.relocations" class="fn">relocations</a>(&self) -> Self::<a class="associatedtype" href="trait.ObjectSection.html#associatedtype.RelocationIterator" title="type object::read::ObjectSection::RelocationIterator">RelocationIterator</a></h4></section></summary><div class="docblock"><p>Get the relocations for this section.</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#423">source</a><h4 class="code-header">fn <a href="#tymethod.flags" class="fn">flags</a>(&self) -> <a class="enum" href="../enum.SectionFlags.html" title="enum object::SectionFlags">SectionFlags</a></h4></section></summary><div class="docblock"><p>Section 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.uncompressed_data" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#396-398">source</a><h4 class="code-header">fn <a href="#method.uncompressed_data" class="fn">uncompressed_data</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/1.76.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'data, [<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]>></h4></section></summary><div class="docblock"><p>Returns the uncompressed contents of the section.</p>
|
||
<p>The length of this data may be different from the size of the
|
||
section in memory.</p>
|
||
<p>If no compression is detected, then returns the data unchanged.
|
||
Returns <code>Err</code> if decompression fails.</p>
|
||
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-ObjectSection%3C'data%3E-for-ElfSection%3C'data,+'file,+Elf,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#457-597">source</a><a href="#impl-ObjectSection%3C'data%3E-for-ElfSection%3C'data,+'file,+Elf,+R%3E" class="anchor">§</a><h3 class="code-header">impl<'data, 'file, Elf, R> <a class="trait" href="trait.ObjectSection.html" title="trait object::read::ObjectSection">ObjectSection</a><'data> for <a class="struct" href="elf/struct.ElfSection.html" title="struct object::read::elf::ElfSection">ElfSection</a><'data, 'file, 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.RelocationIterator-1" class="associatedtype trait-impl"><a href="#associatedtype.RelocationIterator-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.RelocationIterator" class="associatedtype">RelocationIterator</a> = <a class="struct" href="elf/struct.ElfSectionRelocationIterator.html" title="struct object::read::elf::ElfSectionRelocationIterator">ElfSectionRelocationIterator</a><'data, 'file, Elf, R></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ObjectSection%3C'data%3E-for-MachOSection%3C'data,+'file,+Mach,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/macho/section.rs.html#99-207">source</a><a href="#impl-ObjectSection%3C'data%3E-for-MachOSection%3C'data,+'file,+Mach,+R%3E" class="anchor">§</a><h3 class="code-header">impl<'data, 'file, Mach, R> <a class="trait" href="trait.ObjectSection.html" title="trait object::read::ObjectSection">ObjectSection</a><'data> for <a class="struct" href="macho/struct.MachOSection.html" title="struct object::read::macho::MachOSection">MachOSection</a><'data, 'file, 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.RelocationIterator-2" class="associatedtype trait-impl"><a href="#associatedtype.RelocationIterator-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.RelocationIterator" class="associatedtype">RelocationIterator</a> = <a class="struct" href="macho/struct.MachORelocationIterator.html" title="struct object::read::macho::MachORelocationIterator">MachORelocationIterator</a><'data, 'file, Mach, R></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ObjectSection%3C'data%3E-for-PeSection%3C'data,+'file,+Pe,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/pe/section.rs.html#199-296">source</a><a href="#impl-ObjectSection%3C'data%3E-for-PeSection%3C'data,+'file,+Pe,+R%3E" class="anchor">§</a><h3 class="code-header">impl<'data, 'file, Pe, R> <a class="trait" href="trait.ObjectSection.html" title="trait object::read::ObjectSection">ObjectSection</a><'data> for <a class="struct" href="pe/struct.PeSection.html" title="struct object::read::pe::PeSection">PeSection</a><'data, 'file, 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.RelocationIterator-3" class="associatedtype trait-impl"><a href="#associatedtype.RelocationIterator-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.RelocationIterator" class="associatedtype">RelocationIterator</a> = <a class="struct" href="pe/struct.PeRelocationIterator.html" title="struct object::read::pe::PeRelocationIterator">PeRelocationIterator</a><'data, 'file, R></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ObjectSection%3C'data%3E-for-Section%3C'data,+'file,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/any.rs.html#720-793">source</a><a href="#impl-ObjectSection%3C'data%3E-for-Section%3C'data,+'file,+R%3E" class="anchor">§</a><h3 class="code-header">impl<'data, 'file, R: <a class="trait" href="trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>> <a class="trait" href="trait.ObjectSection.html" title="trait object::read::ObjectSection">ObjectSection</a><'data> for <a class="struct" href="struct.Section.html" title="struct object::read::Section">Section</a><'data, 'file, R></h3></section></summary><div class="impl-items"><section id="associatedtype.RelocationIterator-4" class="associatedtype trait-impl"><a href="#associatedtype.RelocationIterator-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.RelocationIterator" class="associatedtype">RelocationIterator</a> = <a class="struct" href="struct.SectionRelocationIterator.html" title="struct object::read::SectionRelocationIterator">SectionRelocationIterator</a><'data, 'file, R></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ObjectSection%3C'data%3E-for-CoffSection%3C'data,+'file,+R,+Coff%3E" class="impl"><a class="src rightside" href="../../src/object/read/coff/section.rs.html#296-392">source</a><a href="#impl-ObjectSection%3C'data%3E-for-CoffSection%3C'data,+'file,+R,+Coff%3E" class="anchor">§</a><h3 class="code-header">impl<'data, 'file, 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>> <a class="trait" href="trait.ObjectSection.html" title="trait object::read::ObjectSection">ObjectSection</a><'data> for <a class="struct" href="coff/struct.CoffSection.html" title="struct object::read::coff::CoffSection">CoffSection</a><'data, 'file, R, Coff></h3></section></summary><div class="impl-items"><section id="associatedtype.RelocationIterator-5" class="associatedtype trait-impl"><a href="#associatedtype.RelocationIterator-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.RelocationIterator" class="associatedtype">RelocationIterator</a> = <a class="struct" href="coff/struct.CoffRelocationIterator.html" title="struct object::read::coff::CoffRelocationIterator">CoffRelocationIterator</a><'data, 'file, R, Coff></h4></section></div></details></div><script src="../../trait.impl/object/read/traits/trait.ObjectSection.js" async></script></section></div></main></body></html> |