mirror of
https://github.com/Rust-GPU/rust-gpu.git
synced 2026-06-08 02:29:51 +09:00
69 lines
34 KiB
HTML
69 lines
34 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><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="#">ObjectSection</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<wbr>Section</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.RelocationIterator" title="RelocationIterator">RelocationIterator</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.address" title="address">address</a></li><li><a href="#tymethod.align" title="align">align</a></li><li><a href="#tymethod.compressed_data" title="compressed_data">compressed_data</a></li><li><a href="#tymethod.compressed_file_range" title="compressed_file_range">compressed_file_range</a></li><li><a href="#tymethod.data" title="data">data</a></li><li><a href="#tymethod.data_range" title="data_range">data_range</a></li><li><a href="#tymethod.file_range" title="file_range">file_range</a></li><li><a href="#tymethod.flags" title="flags">flags</a></li><li><a href="#tymethod.index" title="index">index</a></li><li><a href="#tymethod.kind" title="kind">kind</a></li><li><a href="#tymethod.name" title="name">name</a></li><li><a href="#tymethod.name_bytes" title="name_bytes">name_bytes</a></li><li><a href="#tymethod.relocation_map" title="relocation_map">relocation_map</a></li><li><a href="#tymethod.relocations" title="relocations">relocations</a></li><li><a href="#tymethod.segment_name" title="segment_name">segment_name</a></li><li><a href="#tymethod.segment_name_bytes" title="segment_name_bytes">segment_name_bytes</a></li><li><a href="#tymethod.size" title="size">size</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.uncompressed_data" title="uncompressed_data">uncompressed_data</a></li></ul><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<wbr>Section</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#379-462">Source</a> </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/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>)>;
|
|
|
|
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 18 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/nightly/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/nightly/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/nightly/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/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.u64.html">u64</a>, <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.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/nightly/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/nightly/std/primitive.u64.html">u64</a>, size: <a class="primitive" href="https://doc.rust-lang.org/nightly/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/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="#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><&'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="#tymethod.name" class="fn">name</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/nightly/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/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>]>>;
|
|
<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/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.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.relocation_map" class="fn">relocation_map</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="struct.RelocationMap.html" title="struct object::read::RelocationMap">RelocationMap</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/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'data, [<a class="primitive" href="https://doc.rust-lang.org/nightly/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#384">Source</a><h4 class="code-header">type <a href="#associatedtype.RelocationIterator" class="associatedtype">RelocationIterator</a>: <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>)></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#387">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#390">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/nightly/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#393">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/nightly/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#396">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/nightly/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#399">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/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.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/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#407">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/nightly/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#414">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/nightly/std/primitive.u64.html">u64</a>, size: <a class="primitive" href="https://doc.rust-lang.org/nightly/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/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>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#418">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#422">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#436">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><&'data [<a class="primitive" href="https://doc.rust-lang.org/nightly/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#441">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><&'data <a class="primitive" href="https://doc.rust-lang.org/nightly/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#444">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/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>]>></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#449">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/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.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#452">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#455">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.relocation_map" class="method"><a class="src rightside" href="../../src/object/read/traits.rs.html#458">Source</a><h4 class="code-header">fn <a href="#tymethod.relocation_map" class="fn">relocation_map</a>(&self) -> <a class="type" href="type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="struct.RelocationMap.html" title="struct object::read::RelocationMap">RelocationMap</a>></h4></section></summary><div class="docblock"><p>Construct a relocation map 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#461">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#431-433">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/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</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>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"><div class="negative-marker"></div><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#535-682">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 class="src rightside" href="../../src/object/read/elf/section.rs.html#540">Source</a><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#129-238">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 class="src rightside" href="../../src/object/read/macho/section.rs.html#134">Source</a><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#231-332">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 class="src rightside" href="../../src/object/read/pe/section.rs.html#236">Source</a><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#762-839">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 class="src rightside" href="../../src/object/read/any.rs.html#763">Source</a><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-WasmSection%3C'data,+'file,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#784-910">Source</a><a href="#impl-ObjectSection%3C'data%3E-for-WasmSection%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="wasm/struct.WasmSection.html" title="struct object::read::wasm::WasmSection">WasmSection</a><'data, 'file, R></h3></section></summary><div class="impl-items"><section id="associatedtype.RelocationIterator-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/wasm.rs.html#785">Source</a><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="wasm/struct.WasmRelocationIterator.html" title="struct object::read::wasm::WasmRelocationIterator">WasmRelocationIterator</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#326-426">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-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/coff/section.rs.html#329">Source</a><a href="#associatedtype.RelocationIterator-6" 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><details class="toggle implementors-toggle"><summary><section id="impl-ObjectSection%3C'data%3E-for-XcoffSection%3C'data,+'file,+Xcoff,+R%3E" class="impl"><a class="src rightside" href="../../src/object/read/xcoff/section.rs.html#99-222">Source</a><a href="#impl-ObjectSection%3C'data%3E-for-XcoffSection%3C'data,+'file,+Xcoff,+R%3E" class="anchor">§</a><h3 class="code-header">impl<'data, 'file, Xcoff, R> <a class="trait" href="trait.ObjectSection.html" title="trait object::read::ObjectSection">ObjectSection</a><'data> for <a class="struct" href="xcoff/struct.XcoffSection.html" title="struct object::read::xcoff::XcoffSection">XcoffSection</a><'data, 'file, 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.RelocationIterator-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/xcoff/section.rs.html#104">Source</a><a href="#associatedtype.RelocationIterator-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.RelocationIterator" class="associatedtype">RelocationIterator</a> = <a class="struct" href="xcoff/struct.XcoffRelocationIterator.html" title="struct object::read::xcoff::XcoffRelocationIterator">XcoffRelocationIterator</a><'data, 'file, Xcoff, R></h4></section></div></details></div><script src="../../trait.impl/object/read/traits/trait.ObjectSection.js" async></script></section></div></main></body></html> |