rCore-Tutorial-v3/ch6/riscv/paging/struct.Rv32PageTableWith.html

26 lines
37 KiB
HTML
Raw Normal View History

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="This struct is a two level page table with `Mapper` trait implemented."><meta name="keywords" content="rust, rustlang, rust-lang, Rv32PageTableWith"><title>Rv32PageTableWith in riscv::paging - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../dark.css" disabled><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script src="../../crates.js"></script><script defer src="../../main.js"></script>
<noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../riscv/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"></h2>
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../riscv/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Rv32PageTableWith</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.new">new</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Mapper">Mapper</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">!UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li></ul></div></section><h2 class="location"><a href="index.html">In riscv::paging</a></h2><div id="sidebar-vars" data-name="Rv32PageTableWith" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../riscv/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../index.html">riscv</a>::<wbr><a href="index.html">paging</a>::<wbr><a class="struct" href="#">Rv32PageTableWith</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/riscv/paging/multi_level.rs.html#8-12">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct Rv32PageTableWith&lt;'a, V:&nbsp;<a class="trait" href="../addr/trait.VirtualAddress.html" title="trait riscv::addr::VirtualAddress">VirtualAddress</a> + <a class="trait" href="../addr/trait.AddressL2.html" title="trait riscv::addr::AddressL2">AddressL2</a>, FL:&nbsp;<a class="trait" href="trait.MapperFlushable.html" title="trait riscv::paging::MapperFlushable">MapperFlushable</a>&gt; { /* private fields */ }</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This struct is a two level page table with <code>Mapper</code> trait implemented.</p>
</div></details><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/riscv/paging/multi_level.rs.html#14-40">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a, V:&nbsp;<a class="trait" href="../addr/trait.VirtualAddress.html" title="trait riscv::addr::VirtualAddress">VirtualAddress</a> + <a class="trait" href="../addr/trait.AddressL2.html" title="trait riscv::addr::AddressL2">AddressL2</a>, FL:&nbsp;<a class="trait" href="trait.MapperFlushable.html" title="trait riscv::paging::MapperFlushable">MapperFlushable</a>&gt; <a class="struct" href="struct.Rv32PageTableWith.html" title="struct riscv::paging::Rv32PageTableWith">Rv32PageTableWith</a>&lt;'a, V, FL&gt;</h3></section></summary><div class="impl-items"><section id="method.new" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/riscv/paging/multi_level.rs.html#15-21">source</a></span><a href="#method.new" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.new" class="fnname">new</a>(table: &amp;'a mut <a class="type" href="type.PageTableX32.html" title="type riscv::paging::PageTableX32">PageTableX32</a>, linear_offset: <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.usize.html">usize</a>) -&gt; Self</h4></section></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mapper" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/riscv/paging/multi_level.rs.html#42-94">source</a></span><a href="#impl-Mapper" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a, V:&nbsp;<a class="trait" href="../addr/trait.VirtualAddress.html" title="trait riscv::addr::VirtualAddress">VirtualAddress</a> + <a class="trait" href="../addr/trait.AddressL2.html" title="trait riscv::addr::AddressL2">AddressL2</a>, FL:&nbsp;<a class="trait" href="trait.MapperFlushable.html" title="trait riscv::paging::MapperFlushable">MapperFlushable</a>&gt; <a class="trait" href="trait.Mapper.html" title="trait riscv::paging::Mapper">Mapper</a> for <a class="struct" href="struct.Rv32PageTableWith.html" title="struct riscv::paging::Rv32PageTableWith">Rv32PageTableWith</a>&lt;'a, V, FL&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.P" class="type trait-impl has-srclink"><a href="#associatedtype.P" class="anchor"></a><h4 class="code-header">type <a href="trait.Mapper.html#associatedtype.P" class="associatedtype">P</a> = <a class="struct" href="../addr/sv32/struct.PhysAddrSv32.html" title="struct riscv::addr::sv32::PhysAddrSv32">PhysAddrSv32</a></h4></section><section id="associatedtype.V" class="type trait-impl has-srclink"><a href="#associatedtype.V" class="anchor"></a><h4 class="code-header">type <a href="trait.Mapper.html#associatedtype.V" class="associatedtype">V</a> = V</h4></section><section id="associatedtype.MapperFlush" class="type trait-impl has-srclink"><a href="#associatedtype.MapperFlush" class="anchor"></a><h4 class="code-header">type <a href="trait.Mapper.html#associatedtype.MapperFlush" class="associatedtype">MapperFlush</a> = FL</h4></section><section id="associatedtype.Entry" class="type trait-impl has-srclink"><a href="#associatedtype.Entry" class="anchor"></a><h4 class="code-header">type <a href="trait.Mapper.html#associatedtype.Entry" class="associatedtype">Entry</a> = <a class="struct" href="struct.PageTableEntryX32.html" title="struct riscv::paging::PageTableEntryX32">PageTableEntryX32</a></h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.map_to" class="method trait-impl ha
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.unmap" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/riscv/paging/multi_level.rs.html#64-81">source</a></span><a href="#method.unmap" class="anchor"></a><h4 class="code-header">fn <a href="trait.Mapper.html#tymethod.unmap" class="fnname">unmap</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;page: &lt;Self as <a class="trait" href="trait.MapperExt.html" title="trait riscv::paging::MapperExt">MapperExt</a>&gt;::<a class="associatedtype" href="trait.MapperExt.html#associatedtype.Page" title="type riscv::paging::MapperExt::Page">Page</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.tuple.html">(</a>&lt;Self as <a class="trait" href="trait.MapperExt.html" title="trait riscv::paging::MapperExt">MapperExt</a>&gt;::<a class="associatedtype" href="trait.MapperExt.html#associatedtype.Frame" title="type riscv::paging::MapperExt::Frame">Frame</a>, Self::<a class="associatedtype" href="trait.Mapper.html#associatedtype.MapperFlush" title="type riscv::paging::Mapper::MapperFlush">MapperFlush</a><a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.tuple.html">)</a>, <a class="enum" href="enum.UnmapError.html" title="enum riscv::paging::UnmapError">UnmapError</a>&lt;&lt;Self as <a class="trait" href="trait.Mapper.html" title="trait riscv::paging::Mapper">Mapper</a>&gt;::<a class="associatedtype" href="trait.Mapper.html#associatedtype.P" title="type riscv::paging::Mapper::P">P</a>&gt;&gt;</h4></section></summary><div class='docblock'><p>Removes a mapping from the page table and returns the frame that used to be mapped. <a href="trait.Mapper.html#tymethod.unmap">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ref_entry" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/riscv/paging/multi_level.rs.html#83-93">source</a></span><a href="#method.ref_entry" class="anchor"></a><h4 class="code-header">fn <a href="trait.Mapper.html#tymethod.ref_entry" class="fnname">ref_entry</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;page: &lt;Self as <a class="trait" href="trait.MapperExt.html" title="trait riscv::paging::MapperExt">MapperExt</a>&gt;::<a class="associatedtype" href="trait.MapperExt.html#associatedtype.Page" title="type riscv::paging::MapperExt::Page">Page</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;mut <a class="struct" href="struct.PageTableEntryX32.html" title="struct riscv::paging::PageTableEntryX32">PageTableEntryX32</a>, <a class="enum" href="enum.FlagUpdateError.html" title="enum riscv::paging::FlagUpdateError">FlagUpdateError</a>&gt;</h4></section></summary><div class='docblock'><p>Get the reference of the specified <code>page</code> entry</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update_flags" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/riscv/paging/mapper.rs.html#35-44">source</a></span><a href="#method.update_flags" class="anchor"></a><h4 class="code-header">fn <a href="trait.Mapper.html#method.update_flags" class="fnname">update_flags</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;page: <a class="struct" href="../addr/page/struct.PageWith.html" title="struct riscv::addr::page::PageWith">PageWith</a>&lt;Self::<a class="associatedtype" href="trait.Mapper.html#associatedtype.V" title="type riscv::paging::Mapper::V">V</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;flags: <a class="struct" href="struct.PageTableFlags.html" title="struct riscv::paging::PageTableFlags">PageTableFlags</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.Mapper.html#associatedtype.MapperFlush" title="type riscv::paging::Mapper::MapperFlush">MapperFlush</a>, <a class="enum" href="enum.FlagUpdateError.html" title="enum riscv::paging::FlagUpdateError">FlagUpdateError</a>&gt;</h4></section></summary><div class='docblock'><p>Updates the flags of an existing mapping.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.translate_page" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/riscv/paging/mapper.rs.html#47-58">source</a></span><a href="#method.translate_page" class="anchor"></a><h4 class="code-header">fn <a href="trait.Mapper.html#method.translate_page" class="fnname">translate_page</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;page: <a class="struct" href="../addr/page/struct.PageWith.html" title="struct riscv::addr::page::PageWith">PageWith</a>&lt;Self::<a class="associatedtype" href="trait.Mapper.html#associatedtype.V" title="type riscv::paging::Mapper::V">V</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../addr/page/struct.FrameWith.html" title="struct riscv::addr::page::FrameWith">FrameWith</a>&lt;Self::<a class="associatedtype" href="trait.Mapper.html#associatedtype.P" title="type riscv::paging::Mapper::P">P</a>&gt;&gt;</h4></section></summary><div class='docblock'><p>Return the frame that the specified page is mapped to.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.identity_map" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/riscv/paging/mapper.rs.html#61-69">source</a></span><a href="#method.identity_map" class="anchor"></a><h4 class="code-header">fn <a href="trait.Mapper.html#method.identity_map" class="fnname">identity_map</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;frame: <a class="struct" href="../addr/page/struct.FrameWith.html" title="struct riscv::addr::page::FrameWith">FrameWith</a>&lt;Self::<a class="associatedtype" href="trait.Mapper.html#associatedtype.P" title="type riscv::paging::Mapper::P">P</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;flags: <a class="struct" href="struct.PageTableFlags.html" title="struct riscv::paging::PageTableFlags">PageTableFlags</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;allocator: &amp;mut impl <a class="trait" href="trait.FrameAllocatorFor.html" title="trait riscv::paging::FrameAllocatorFor">FrameAllocatorFor</a>&lt;&lt;Self as <a class="trait" href="trait.Mapper.html" title="trait riscv::paging::Mapper">Mapper</a>&gt;::<a class="associatedtype" href="trait.Mapper.html#associatedtype.P" title="type riscv::paging::Mapper::P">P</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.Mapper.html#associatedtype.MapperFlush" title="type riscv::paging::Mapper::MapperFlush">MapperFlush</a>, <a class="enum" href="enum.MapToError.html" title="enum riscv::paging::MapToError">MapToError</a>&gt;</h4></section></summary><div class='docblock'><p>Maps the given frame to the virtual page with the same address.</p>
</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a, V, FL&gt; <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.Rv32PageTableWith.html" title="struct riscv::paging::Rv32PageTableWith">Rv32PageTableWith</a>&lt;'a, V, FL&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;FL: <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>,<br>&nbsp;&nbsp;&nbsp;&nbsp;V: <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>,&nbsp;</span></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a, V, FL&gt; <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.Rv32PageTableWith.html" title="struct riscv::paging::Rv32PageTableWith">Rv32PageTableWith</a>&lt;'a, V, FL&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;FL: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;V: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,&nbsp;</span></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a, V, FL&gt; <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.Rv32PageTableWith.html" title="struct riscv::paging::Rv32PageTableWith">Rv32PageTableWith</a>&lt;'a, V, FL&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;FL: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;V: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,&nbsp;</span></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a, V, FL&gt; <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.Rv32PageTableWith.html" title="struct riscv::paging::Rv32PageTableWith">Rv32PageTableWith</a>&lt;'a, V, FL&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;FL: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;V: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,&nbsp;</span></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a, V, FL&gt; !<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.Rv32PageTableWith.html" title="struct riscv::paging::Rv32PageTableWith">Rv32PageTableWith</a>&lt;'a, V, FL&gt;</h3></secti
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#211">source</a></span><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="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219">source</a></span><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="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'><p>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></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-From%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#557-562">source</a></span><a href="#impl-From%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#559">source</a></span><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="fnname">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#541-552">source</a></span><a href="#impl-Into%3CU%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#549">source</a></span><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="fnname">into</a>(self) -&gt; 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="From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#598-607">source</a></span><a href="#impl-TryFrom%3CU%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error" class="type trait-impl has-srclink"><a href="#associatedtype.Error" 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'><p>The type returned in the event of a conversion error.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#604">source</a></span><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="fnname">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<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>&gt;</h4></section></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#583-592">source</a></span><a href="#impl-TryInto%3CU%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error-1" class="type trait-impl has-srclink"><a href="#associatedtype.Error-1" 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> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<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'><p>The type returned in the event of a conversion error.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#589">source</a></span><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="fnname">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<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>&gt;</h4></section></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details></div></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="riscv" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0-nightly (1f7fb6413 2022-04-10)" ></div>
</body></html>