mirror of
https://github.com/Rust-GPU/rust-gpu.git
synced 2026-06-08 10:39:50 +09:00
133 lines
80 KiB
HTML
133 lines
80 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="Section header."><title>SectionHeader32 in object::elf - 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 struct"><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="#">SectionHeader32</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="#">Section<wbr>Header32</a></h2><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.sh_addr" title="sh_addr">sh_addr</a></li><li><a href="#structfield.sh_addralign" title="sh_addralign">sh_addralign</a></li><li><a href="#structfield.sh_entsize" title="sh_entsize">sh_entsize</a></li><li><a href="#structfield.sh_flags" title="sh_flags">sh_flags</a></li><li><a href="#structfield.sh_info" title="sh_info">sh_info</a></li><li><a href="#structfield.sh_link" title="sh_link">sh_link</a></li><li><a href="#structfield.sh_name" title="sh_name">sh_name</a></li><li><a href="#structfield.sh_offset" title="sh_offset">sh_offset</a></li><li><a href="#structfield.sh_size" title="sh_size">sh_size</a></li><li><a href="#structfield.sh_type" title="sh_type">sh_type</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-SectionHeader32%3CE%3E" title="Clone">Clone</a></li><li><a href="#impl-Copy-for-SectionHeader32%3CE%3E" title="Copy">Copy</a></li><li><a href="#impl-Debug-for-SectionHeader32%3CE%3E" title="Debug">Debug</a></li><li><a href="#impl-Pod-for-SectionHeader32%3CE%3E" title="Pod">Pod</a></li><li><a href="#impl-SectionHeader-for-SectionHeader32%3CEndian%3E" title="SectionHeader">SectionHeader</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-SectionHeader32%3CE%3E" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-SectionHeader32%3CE%3E" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-SectionHeader32%3CE%3E" title="Send">Send</a></li><li><a href="#impl-Sync-for-SectionHeader32%3CE%3E" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-SectionHeader32%3CE%3E" title="Unpin">Unpin</a></li><li><a href="#impl-UnsafeUnpin-for-SectionHeader32%3CE%3E" title="UnsafeUnpin">UnsafeUnpin</a></li><li><a href="#impl-UnwindSafe-for-SectionHeader32%3CE%3E" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In object::<wbr>elf</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">elf</a></div><h1>Struct <span class="struct">Section<wbr>Header32</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/elf.rs.html#594-621">Source</a> </span></div><pre class="rust item-decl"><code><div class="code-attribute">#[repr(C)]</div>pub struct SectionHeader32<E: <a class="trait" href="../endian/trait.Endian.html" title="trait object::endian::Endian">Endian</a>> {
|
|
pub sh_name: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E>,
|
|
pub sh_type: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E>,
|
|
pub sh_flags: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E>,
|
|
pub sh_addr: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E>,
|
|
pub sh_offset: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E>,
|
|
pub sh_size: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E>,
|
|
pub sh_link: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E>,
|
|
pub sh_info: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E>,
|
|
pub sh_addralign: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E>,
|
|
pub sh_entsize: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E>,
|
|
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Section header.</p>
|
|
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.sh_name" class="structfield section-header"><a href="#structfield.sh_name" class="anchor field">§</a><code>sh_name: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E></code></span><div class="docblock"><p>Section name.</p>
|
|
<p>This is an offset into the section header string table.</p>
|
|
</div><span id="structfield.sh_type" class="structfield section-header"><a href="#structfield.sh_type" class="anchor field">§</a><code>sh_type: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E></code></span><div class="docblock"><p>Section type. One of the <code>SHT_*</code> constants.</p>
|
|
</div><span id="structfield.sh_flags" class="structfield section-header"><a href="#structfield.sh_flags" class="anchor field">§</a><code>sh_flags: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E></code></span><div class="docblock"><p>Section flags. A combination of the <code>SHF_*</code> constants.</p>
|
|
</div><span id="structfield.sh_addr" class="structfield section-header"><a href="#structfield.sh_addr" class="anchor field">§</a><code>sh_addr: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E></code></span><div class="docblock"><p>Section virtual address at execution.</p>
|
|
</div><span id="structfield.sh_offset" class="structfield section-header"><a href="#structfield.sh_offset" class="anchor field">§</a><code>sh_offset: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E></code></span><div class="docblock"><p>Section file offset.</p>
|
|
</div><span id="structfield.sh_size" class="structfield section-header"><a href="#structfield.sh_size" class="anchor field">§</a><code>sh_size: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E></code></span><div class="docblock"><p>Section size in bytes.</p>
|
|
</div><span id="structfield.sh_link" class="structfield section-header"><a href="#structfield.sh_link" class="anchor field">§</a><code>sh_link: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E></code></span><div class="docblock"><p>Link to another section.</p>
|
|
<p>The section relationship depends on the <code>sh_type</code> value.</p>
|
|
</div><span id="structfield.sh_info" class="structfield section-header"><a href="#structfield.sh_info" class="anchor field">§</a><code>sh_info: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E></code></span><div class="docblock"><p>Additional section information.</p>
|
|
<p>The meaning of this field depends on the <code>sh_type</code> value.</p>
|
|
</div><span id="structfield.sh_addralign" class="structfield section-header"><a href="#structfield.sh_addralign" class="anchor field">§</a><code>sh_addralign: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E></code></span><div class="docblock"><p>Section alignment.</p>
|
|
</div><span id="structfield.sh_entsize" class="structfield section-header"><a href="#structfield.sh_entsize" class="anchor field">§</a><code>sh_entsize: <a class="type" href="../endian/type.U32.html" title="type object::endian::U32">U32</a><E></code></span><div class="docblock"><p>Entry size if the section holds a table.</p>
|
|
</div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-SectionHeader32%3CE%3E" class="impl"><a class="src rightside" href="../../src/object/elf.rs.html#592">Source</a><a href="#impl-Clone-for-SectionHeader32%3CE%3E" class="anchor">§</a><h3 class="code-header">impl<E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../endian/trait.Endian.html" title="trait object::endian::Endian">Endian</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><E></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../src/object/elf.rs.html#592">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><E></h4></section></summary><div class='docblock'>Returns a duplicate of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#245-247">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-SectionHeader32%3CE%3E" class="impl"><a class="src rightside" href="../../src/object/elf.rs.html#592">Source</a><a href="#impl-Debug-for-SectionHeader32%3CE%3E" class="anchor">§</a><h3 class="code-header">impl<E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="../endian/trait.Endian.html" title="trait object::endian::Endian">Endian</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><E></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../src/object/elf.rs.html#592">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SectionHeader-for-SectionHeader32%3CEndian%3E" class="impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1172-1226">Source</a><a href="#impl-SectionHeader-for-SectionHeader32%3CEndian%3E" class="anchor">§</a><h3 class="code-header">impl<Endian: <a class="trait" href="../endian/trait.Endian.html" title="trait object::endian::Endian">Endian</a>> <a class="trait" href="../read/elf/trait.SectionHeader.html" title="trait object::read::elf::SectionHeader">SectionHeader</a> for <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><Endian></h3></section></summary><div class="impl-items"><section id="associatedtype.Elf" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1173">Source</a><a href="#associatedtype.Elf" class="anchor">§</a><h4 class="code-header">type <a href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" class="associatedtype">Elf</a> = <a class="struct" href="struct.FileHeader32.html" title="struct object::elf::FileHeader32">FileHeader32</a><Endian></h4></section><section id="associatedtype.Word" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1174">Source</a><a href="#associatedtype.Word" class="anchor">§</a><h4 class="code-header">type <a href="../read/elf/trait.SectionHeader.html#associatedtype.Word" class="associatedtype">Word</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section><section id="associatedtype.Endian" class="associatedtype trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1175">Source</a><a href="#associatedtype.Endian" class="anchor">§</a><h4 class="code-header">type <a href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" class="associatedtype">Endian</a> = Endian</h4></section><section id="method.sh_name" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1178-1180">Source</a><a href="#method.sh_name" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#tymethod.sh_name" class="fn">sh_name</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section><section id="method.sh_type" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1183-1185">Source</a><a href="#method.sh_type" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#tymethod.sh_type" class="fn">sh_type</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section><section id="method.sh_flags" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1188-1190">Source</a><a href="#method.sh_flags" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#tymethod.sh_flags" class="fn">sh_flags</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Word" title="type object::read::elf::SectionHeader::Word">Word</a></h4></section><section id="method.sh_addr" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1193-1195">Source</a><a href="#method.sh_addr" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#tymethod.sh_addr" class="fn">sh_addr</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Word" title="type object::read::elf::SectionHeader::Word">Word</a></h4></section><section id="method.sh_offset" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1198-1200">Source</a><a href="#method.sh_offset" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#tymethod.sh_offset" class="fn">sh_offset</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Word" title="type object::read::elf::SectionHeader::Word">Word</a></h4></section><section id="method.sh_size" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1203-1205">Source</a><a href="#method.sh_size" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#tymethod.sh_size" class="fn">sh_size</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Word" title="type object::read::elf::SectionHeader::Word">Word</a></h4></section><section id="method.sh_link" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1208-1210">Source</a><a href="#method.sh_link" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#tymethod.sh_link" class="fn">sh_link</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section><section id="method.sh_info" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1213-1215">Source</a><a href="#method.sh_info" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#tymethod.sh_info" class="fn">sh_info</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section><section id="method.sh_addralign" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1218-1220">Source</a><a href="#method.sh_addralign" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#tymethod.sh_addralign" class="fn">sh_addralign</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Word" title="type object::read::elf::SectionHeader::Word">Word</a></h4></section><section id="method.sh_entsize" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1223-1225">Source</a><a href="#method.sh_entsize" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#tymethod.sh_entsize" class="fn">sh_entsize</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Word" title="type object::read::elf::SectionHeader::Word">Word</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.name" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#703-711">Source</a><a href="#method.name" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.name" class="fn">name</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
strings: <a class="struct" href="../read/struct.StringTable.html" title="struct object::read::StringTable">StringTable</a><'data, R>,
|
|
) -> <a class="type" href="../read/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'>Parse the section name from the string table.</div></details><details class="toggle method-toggle" open><summary><section id="method.link" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#716-718">Source</a><a href="#method.link" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.link" class="fn">link</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> <a class="struct" href="../read/struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a></h4></section></summary><div class='docblock'>Get the <code>sh_link</code> field as a section index. <a href="../read/elf/trait.SectionHeader.html#method.link">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.has_info_link" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#721-723">Source</a><a href="#method.has_info_link" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.has_info_link" class="fn">has_info_link</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Return true if the <code>SHF_INFO_LINK</code> flag is set.</div></details><details class="toggle method-toggle" open><summary><section id="method.info_link" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#729-731">Source</a><a href="#method.info_link" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.info_link" class="fn">info_link</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>) -> <a class="struct" href="../read/struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a></h4></section></summary><div class='docblock'>Get the <code>sh_info</code> field as a section index. <a href="../read/elf/trait.SectionHeader.html#method.info_link">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.file_range" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#736-742">Source</a><a href="#method.file_range" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.file_range" class="fn">file_range</a>(&self, endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</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.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'>Return the offset and size of the section in the file. <a href="../read/elf/trait.SectionHeader.html#method.file_range">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.data" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#748-759">Source</a><a href="#method.data" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.data" class="fn">data</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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'>Return the section data. <a href="../read/elf/trait.SectionHeader.html#method.data">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.data_as_array" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#766-773">Source</a><a href="#method.data_as_array" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.data_as_array" class="fn">data_as_array</a><'data, T: <a class="trait" href="../pod/trait.Pod.html" title="trait object::pod::Pod">Pod</a>, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/type.Result.html" title="type object::read::Result">Result</a><&'data <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[T]</a>></h4></section></summary><div class='docblock'>Return the section data as a slice of the given type. <a href="../read/elf/trait.SectionHeader.html#method.data_as_array">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.strings" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#779-793">Source</a><a href="#method.strings" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.strings" class="fn">strings</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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="../read/struct.StringTable.html" title="struct object::read::StringTable">StringTable</a><'data, R>>></h4></section></summary><div class='docblock'>Return the strings in the section. <a href="../read/elf/trait.SectionHeader.html#method.strings">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.symbols" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#804-816">Source</a><a href="#method.symbols" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.symbols" class="fn">symbols</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
sections: &<a class="struct" href="../read/elf/struct.SectionTable.html" title="struct object::read::elf::SectionTable">SectionTable</a><'data, Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a>, R>,
|
|
section_index: <a class="struct" href="../read/struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>,
|
|
) -> <a class="type" href="../read/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="../read/elf/struct.SymbolTable.html" title="struct object::read::elf::SymbolTable">SymbolTable</a><'data, Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a>, R>>></h4></section></summary><div class='docblock'>Return the symbols in the section. <a href="../read/elf/trait.SectionHeader.html#method.symbols">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.rel" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#824-836">Source</a><a href="#method.rel" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.rel" class="fn">rel</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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 [<Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a> as <a class="trait" href="../read/elf/trait.FileHeader.html" title="trait object::read::elf::FileHeader">FileHeader</a>>::<a class="associatedtype" href="../read/elf/trait.FileHeader.html#associatedtype.Rel" title="type object::read::elf::FileHeader::Rel">Rel</a>], <a class="struct" href="../read/struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>)>></h4></section></summary><div class='docblock'>Return the <code>Elf::Rel</code> entries in the section. <a href="../read/elf/trait.SectionHeader.html#method.rel">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.rela" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#844-856">Source</a><a href="#method.rela" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.rela" class="fn">rela</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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 [<Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a> as <a class="trait" href="../read/elf/trait.FileHeader.html" title="trait object::read::elf::FileHeader">FileHeader</a>>::<a class="associatedtype" href="../read/elf/trait.FileHeader.html#associatedtype.Rela" title="type object::read::elf::FileHeader::Rela">Rela</a>], <a class="struct" href="../read/struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>)>></h4></section></summary><div class='docblock'>Return the <code>Elf::Rela</code> entries in the section. <a href="../read/elf/trait.SectionHeader.html#method.rela">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.relr" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#862-875">Source</a><a href="#method.relr" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.relr" class="fn">relr</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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="../read/elf/struct.RelrIterator.html" title="struct object::read::elf::RelrIterator">RelrIterator</a><'data, Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a>>>></h4></section></summary><div class='docblock'>Return the <code>Elf::Relr</code> entries in the section. <a href="../read/elf/trait.SectionHeader.html#method.relr">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.crel" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#881-894">Source</a><a href="#method.crel" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.crel" class="fn">crel</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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="../read/elf/struct.CrelIterator.html" title="struct object::read::elf::CrelIterator">CrelIterator</a><'data>, <a class="struct" href="../read/struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>)>></h4></section></summary><div class='docblock'>Return the <code>Crel</code> entries in the section. <a href="../read/elf/trait.SectionHeader.html#method.crel">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.dynamic" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#902-914">Source</a><a href="#method.dynamic" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.dynamic" class="fn">dynamic</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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 [<Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a> as <a class="trait" href="../read/elf/trait.FileHeader.html" title="trait object::read::elf::FileHeader">FileHeader</a>>::<a class="associatedtype" href="../read/elf/trait.FileHeader.html#associatedtype.Dyn" title="type object::read::elf::FileHeader::Dyn">Dyn</a>], <a class="struct" href="../read/struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>)>></h4></section></summary><div class='docblock'>Return entries in a dynamic section. <a href="../read/elf/trait.SectionHeader.html#method.dynamic">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.notes" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#920-933">Source</a><a href="#method.notes" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.notes" class="fn">notes</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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="../read/elf/struct.NoteIterator.html" title="struct object::read::elf::NoteIterator">NoteIterator</a><'data, Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a>>>></h4></section></summary><div class='docblock'>Return a note iterator for the section data. <a href="../read/elf/trait.SectionHeader.html#method.notes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.group" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#942-955">Source</a><a href="#method.group" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.group" class="fn">group</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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.u32.html">u32</a>, &'data [<a class="struct" href="../endian/struct.U32Bytes.html" title="struct object::endian::U32Bytes">U32Bytes</a><Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>>])>></h4></section></summary><div class='docblock'>Return the contents of a group section. <a href="../read/elf/trait.SectionHeader.html#method.group">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash_header" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#961-976">Source</a><a href="#method.hash_header" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.hash_header" class="fn">hash_header</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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="struct" href="struct.HashHeader.html" title="struct object::elf::HashHeader">HashHeader</a><Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>>>></h4></section></summary><div class='docblock'>Return the header of a SysV hash section. <a href="../read/elf/trait.SectionHeader.html#method.hash_header">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#984-997">Source</a><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.hash" class="fn">hash</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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="../read/elf/struct.HashTable.html" title="struct object::read::elf::HashTable">HashTable</a><'data, Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a>>, <a class="struct" href="../read/struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>)>></h4></section></summary><div class='docblock'>Return the contents of a SysV hash section. <a href="../read/elf/trait.SectionHeader.html#method.hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gnu_hash_header" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1003-1018">Source</a><a href="#method.gnu_hash_header" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.gnu_hash_header" class="fn">gnu_hash_header</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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="struct" href="struct.GnuHashHeader.html" title="struct object::elf::GnuHashHeader">GnuHashHeader</a><Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>>>></h4></section></summary><div class='docblock'>Return the header of a GNU hash section. <a href="../read/elf/trait.SectionHeader.html#method.gnu_hash_header">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gnu_hash" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1026-1039">Source</a><a href="#method.gnu_hash" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.gnu_hash" class="fn">gnu_hash</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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="../read/elf/struct.GnuHashTable.html" title="struct object::read::elf::GnuHashTable">GnuHashTable</a><'data, Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a>>, <a class="struct" href="../read/struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>)>></h4></section></summary><div class='docblock'>Return the contents of a GNU hash section. <a href="../read/elf/trait.SectionHeader.html#method.gnu_hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gnu_versym" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1047-1059">Source</a><a href="#method.gnu_versym" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.gnu_versym" class="fn">gnu_versym</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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="struct" href="struct.Versym.html" title="struct object::elf::Versym">Versym</a><Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>>], <a class="struct" href="../read/struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>)>></h4></section></summary><div class='docblock'>Return the contents of a <code>SHT_GNU_VERSYM</code> section. <a href="../read/elf/trait.SectionHeader.html#method.gnu_versym">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gnu_verdef" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1067-1082">Source</a><a href="#method.gnu_verdef" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.gnu_verdef" class="fn">gnu_verdef</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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="../read/elf/struct.VerdefIterator.html" title="struct object::read::elf::VerdefIterator">VerdefIterator</a><'data, Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a>>, <a class="struct" href="../read/struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>)>></h4></section></summary><div class='docblock'>Return an iterator for the entries of a <code>SHT_GNU_VERDEF</code> section. <a href="../read/elf/trait.SectionHeader.html#method.gnu_verdef">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gnu_verneed" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1090-1105">Source</a><a href="#method.gnu_verneed" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.gnu_verneed" class="fn">gnu_verneed</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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="../read/elf/struct.VerneedIterator.html" title="struct object::read::elf::VerneedIterator">VerneedIterator</a><'data, Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a>>, <a class="struct" href="../read/struct.SectionIndex.html" title="struct object::read::SectionIndex">SectionIndex</a>)>></h4></section></summary><div class='docblock'>Return an iterator for the entries of a <code>SHT_GNU_VERNEED</code> section. <a href="../read/elf/trait.SectionHeader.html#method.gnu_verneed">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gnu_attributes" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1111-1120">Source</a><a href="#method.gnu_attributes" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.gnu_attributes" class="fn">gnu_attributes</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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="../read/elf/struct.AttributesSection.html" title="struct object::read::elf::AttributesSection">AttributesSection</a><'data, Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a>>>></h4></section></summary><div class='docblock'>Return the contents of a <code>SHT_GNU_ATTRIBUTES</code> section. <a href="../read/elf/trait.SectionHeader.html#method.gnu_attributes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.attributes" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1128-1135">Source</a><a href="#method.attributes" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.attributes" class="fn">attributes</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/type.Result.html" title="type object::read::Result">Result</a><<a class="struct" href="../read/elf/struct.AttributesSection.html" title="struct object::read::elf::AttributesSection">AttributesSection</a><'data, Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a>>></h4></section></summary><div class='docblock'>Parse the contents of the section as attributes. <a href="../read/elf/trait.SectionHeader.html#method.attributes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.compression" class="method trait-impl"><a class="src rightside" href="../../src/object/read/elf/section.rs.html#1144-1169">Source</a><a href="#method.compression" class="anchor">§</a><h4 class="code-header">fn <a href="../read/elf/trait.SectionHeader.html#method.compression" class="fn">compression</a><'data, R: <a class="trait" href="../read/trait.ReadRef.html" title="trait object::read::ReadRef">ReadRef</a><'data>>(
|
|
&self,
|
|
endian: Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Endian" title="type object::read::elf::SectionHeader::Endian">Endian</a>,
|
|
data: R,
|
|
) -> <a class="type" href="../read/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 <Self::<a class="associatedtype" href="../read/elf/trait.SectionHeader.html#associatedtype.Elf" title="type object::read::elf::SectionHeader::Elf">Elf</a> as <a class="trait" href="../read/elf/trait.FileHeader.html" title="trait object::read::elf::FileHeader">FileHeader</a>>::<a class="associatedtype" href="../read/elf/trait.FileHeader.html#associatedtype.CompressionHeader" title="type object::read::elf::FileHeader::CompressionHeader">CompressionHeader</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'>Parse the compression header if present. <a href="../read/elf/trait.SectionHeader.html#method.compression">Read more</a></div></details></div></details><section id="impl-Copy-for-SectionHeader32%3CE%3E" class="impl"><a class="src rightside" href="../../src/object/elf.rs.html#592">Source</a><a href="#impl-Copy-for-SectionHeader32%3CE%3E" class="anchor">§</a><h3 class="code-header">impl<E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="../endian/trait.Endian.html" title="trait object::endian::Endian">Endian</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><E></h3></section><section id="impl-Pod-for-SectionHeader32%3CE%3E" class="impl"><a class="src rightside" href="../../src/object/elf.rs.html#6503-6533">Source</a><a href="#impl-Pod-for-SectionHeader32%3CE%3E" class="anchor">§</a><h3 class="code-header">impl<E: <a class="trait" href="../endian/trait.Endian.html" title="trait object::endian::Endian">Endian</a>> <a class="trait" href="../pod/trait.Pod.html" title="trait object::pod::Pod">Pod</a> for <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><E></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-SectionHeader32%3CE%3E" class="impl"><a href="#impl-Freeze-for-SectionHeader32%3CE%3E" class="anchor">§</a><h3 class="code-header">impl<E> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><E></h3></section><section id="impl-RefUnwindSafe-for-SectionHeader32%3CE%3E" class="impl"><a href="#impl-RefUnwindSafe-for-SectionHeader32%3CE%3E" class="anchor">§</a><h3 class="code-header">impl<E> <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><E><div class="where">where
|
|
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-SectionHeader32%3CE%3E" class="impl"><a href="#impl-Send-for-SectionHeader32%3CE%3E" class="anchor">§</a><h3 class="code-header">impl<E> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><E><div class="where">where
|
|
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-SectionHeader32%3CE%3E" class="impl"><a href="#impl-Sync-for-SectionHeader32%3CE%3E" class="anchor">§</a><h3 class="code-header">impl<E> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><E><div class="where">where
|
|
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-SectionHeader32%3CE%3E" class="impl"><a href="#impl-Unpin-for-SectionHeader32%3CE%3E" class="anchor">§</a><h3 class="code-header">impl<E> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><E><div class="where">where
|
|
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnsafeUnpin-for-SectionHeader32%3CE%3E" class="impl"><a href="#impl-UnsafeUnpin-for-SectionHeader32%3CE%3E" class="anchor">§</a><h3 class="code-header">impl<E> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.UnsafeUnpin.html" title="trait core::marker::UnsafeUnpin">UnsafeUnpin</a> for <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><E></h3></section><section id="impl-UnwindSafe-for-SectionHeader32%3CE%3E" class="impl"><a href="#impl-UnwindSafe-for-SectionHeader32%3CE%3E" class="anchor">§</a><h3 class="code-header">impl<E> <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.SectionHeader32.html" title="struct object::elf::SectionHeader32">SectionHeader32</a><E><div class="where">where
|
|
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,</div></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#141">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
|
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#142">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#547">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#549">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&self, dest: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dest</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
|
<p>That is, this conversion is whatever the implementation of
|
|
<code><a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#72-74">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#76">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#77">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main></body></html> |