<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="map permission corresponding to that in pte: `R W X U`"><title>MapPermission in os::mm - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><linkrel="stylesheet"href="../../static.files/normalize-76eba96aa4d2e634.css"><linkrel="stylesheet"href="../../static.files/rustdoc-fa3bb1812debf86c.css"><metaname="rustdoc-vars"data-root-path="../../"data-static-root-path="../../static.files/"data-current-crate="os"data-themes=""data-resource-suffix=""data-rustdoc-version="1.75.0-nightly (bf9a1c8a1 2023-10-08)"data-channel="nightly"data-search-js="search-5f5ec5419eadd0c9.js"data-settings-js="settings-74424d7eec62a23e.js"><scriptsrc="../../static.files/storage-fec3eaa3851e447d.js"></script><scriptdefersrc="sidebar-items.js"></script><scriptdefersrc="../../static.files/main-c5bd66d33317d69f.js"></script><noscript><linkrel="stylesheet"href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><linkrel="alternate icon"type="image/png"href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><linkrel="alternate icon"type="image/png"href="../../static.files/favicon-32x32-422f7d1d52889060.png"><linkrel="icon"type="image/svg+xml"href="../../static.files/favicon-2c020d218678b618.svg"></head><bodyclass="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="mobile-topbar"><buttonclass="sidebar-menu-toggle">☰</button><aclass="logo-container"href="../../os/index.html"><imgclass="rust-logo"src="../../static.files/rust-logo-151179464ae7ed46.svg"alt="logo"></a></nav><navclass="sidebar"><aclass="logo-container"href="../../os/index.html"><imgclass="rust-logo"src="../../static.files/rust-logo-151179464ae7ed46.svg"alt="logo"></a><h2class="location"><ahref="#">MapPermission</a></h2><divclass="sidebar-elems"><section><h3><ahref="#fields">Fields</a></h3><ulclass="block"><li><ahref="#structfield.bits">bits</a></li></ul><h3><ahref="#implementations">Associated Constants</a></h3><ulclass="block"><li><ahref="#associatedconstant.R">R</a></li><li><ahref="#associatedconstant.U">U</a></li><li><ahref="#associatedconstant.W">W</a></li><li><ahref="#associatedconstant.X">X</a></li></ul><h3><ahref="#implementations">Methods</a></h3><ulclass="block"><li><ahref="#method.all">all</a></li><li><ahref="#method.bits">bits</a></li><li><ahref="#method.complement">complement</a></li><li><ahref="#method.contains">contains</a></li><li><ahref="#method.difference">difference</a></li><li><ahref="#method.empty">empty</a></li><li><ahref="#method.from_bits">from_bits</a></li><li><ahref="#method.from_bits_truncate">from_bits_truncate</a></li><li><ahref="#method.from_bits_unchecked">from_bits_unchecked</a></li><li><ahref="#method.insert">insert</a></li><li><ahref="#method.intersection">intersection</a></li><li><ahref="#method.intersects">intersects</a></li><li><ahref="#method.is_all">is_all</a></li><li><ahref="#method.is_empty">is_empty</a></li><li><ahref="#method.remove">remove</a></li><li><ahref="#method.set">set</a></li><li><ahref="#method.symmetric_differ
}</code></pre><detailsclass="toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>map permission corresponding to that in pte: <code>R W X U</code></p>
</div></details><detailsclass="toggle"open><summary><sectionid="associatedconstant.U"class="associatedconstant"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const <ahref="#associatedconstant.U"class="constant">U</a>: Self = _</h4></section></summary><divclass="docblock"><p>Accessible in U mode</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.empty"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const fn <ahref="#method.empty"class="fn">empty</a>() -> Self</h4></section></summary><divclass="docblock"><p>Returns an empty set of flags.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.all"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const fn <ahref="#method.all"class="fn">all</a>() -> Self</h4></section></summary><divclass="docblock"><p>Returns the set containing all flags.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.bits"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const fn <ahref="#method.bits"class="fn">bits</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.u8.html">u8</a></h4></section></summary><divclass="docblock"><p>Returns the raw value of the flags currently stored.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.from_bits"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const fn <ahref="#method.from_bits"class="fn">from_bits</a>(bits: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.u8.html">u8</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self></h4></section></summary><divclass="docblock"><p>Convert from underlying bit representation, unless that
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.is_empty"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const fn <ahref="#method.is_empty"class="fn">is_empty</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass="docblock"><p>Returns <code>true</code> if no flags are currently stored.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.is_all"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const fn <ahref="#method.is_all"class="fn">is_all</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass="docblock"><p>Returns <code>true</code> if all flags are currently set.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.intersects"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const fn <ahref="#method.intersects"class="fn">intersects</a>(&self, other: Self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass="docblock"><p>Returns <code>true</code> if there are flags common to both <code>self</code> and <code>other</code>.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.contains"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const fn <ahref="#method.contains"class="fn">contains</a>(&self, other: Self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass="docblock"><p>Returns <code>true</code> if all of the flags in <code>other</code> are contained within <code>self</code>.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.set"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub fn <ahref="#method.set"class="fn">set</a>(&mut self, other: Self, value: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a>)</h4></section></summary><divclass="docblock"><p>Inserts or removes the specified flags depending on the passed value.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.intersection"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const fn <ahref="#method.intersection"class="fn">intersection</a>(self, other: Self) -> Self</h4></section></summary><divclass="docblock"><p>Returns the intersection between the flags in <code>self</code> and
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.union"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const fn <ahref="#method.union"class="fn">union</a>(self, other: Self) -> Self</h4></section></summary><divclass="docblock"><p>Returns the union of between the flags in <code>self</code> and <code>other</code>.</p>
present in both (see <ahref="memory_set/struct.MapPermission.html#method.symmetric_difference"title="method os::mm::memory_set::MapPermission::symmetric_difference"><code>Self::symmetric_difference</code></a> if that
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.difference"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const fn <ahref="#method.difference"class="fn">difference</a>(self, other: Self) -> Self</h4></section></summary><divclass="docblock"><p>Returns the difference between the flags in <code>self</code> and <code>other</code>.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.complement"class="method"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><h4class="code-header">pub const fn <ahref="#method.complement"class="fn">complement</a>(self) -> Self</h4></section></summary><divclass="docblock"><p>Returns the complement of this set of flags.</p>
between <ahref="memory_set/struct.MapPermission.html#method.all"title="associated function os::mm::memory_set::MapPermission::all"><code>Self::all()</code></a> and <code>self</code> (e.g. <code>Self::all() - self</code>)</p>
</div></details></div></details></div><h2id="trait-implementations"class="small-section-header">Trait Implementations<ahref="#trait-implementations"class="anchor">§</a></h2><divid="trait-implementations-list"><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Binary-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-Binary-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Binary.html"title="trait core::fmt::Binary">Binary</a> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.fmt-3"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.fmt-3"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Binary.html#tymethod.fmt"class="fn">fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></h4></section></summary><divclass='docblock'>Formats the value using the given formatter.</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-BitAnd%3CMapPermission%3E-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-BitAnd%3CMapPermission%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitAnd.html"title="trait core::ops::bit::BitAnd">BitAnd</a><<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.bitand"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.bitand"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitAnd.html#tymethod.bitand"class="fn">bitand</a>(self, other: Self) -> Self</h4></section></summary><divclass="docblock"><p>Returns the intersection between the two sets of flags.</p>
</div></details><detailsclass="toggle"open><summary><sectionid="associatedtype.Output-3"class="associatedtype trait-impl"><ahref="#associatedtype.Output-3"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitAnd.html#associatedtype.Output"class="associatedtype">Output</a> = <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h4></section></summary><divclass='docblock'>The resulting type after applying the <code>&</code> operator.</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-BitAndAssign%3CMapPermission%3E-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-BitAndAssign%3CMapPermission%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitAndAssign.html"title="trait core::ops::bit::BitAndAssign">BitAndAssign</a><<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.bitand_assign"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.bitand_assign"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitAndAssign.html#tymethod.bitand_assign"class="fn">bitand_assign</a>(&mut self, other: Self)</h4></section></summary><divclass="docblock"><p>Disables all flags disabled in the set.</p>
</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-BitOr%3CMapPermission%3E-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-BitOr%3CMapPermission%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitOr.html"title="trait core::ops::bit::BitOr">BitOr</a><<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.bitor"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.bitor"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitOr.html#tymethod.bitor"class="fn">bitor</a>(self, other: <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>) -> Self</h4></section></summary><divclass="docblock"><p>Returns the union of the two sets of flags.</p>
</div></details><detailsclass="toggle"open><summary><sectionid="associatedtype.Output-2"class="associatedtype trait-impl"><ahref="#associatedtype.Output-2"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitOr.html#associatedtype.Output"class="associatedtype">Output</a> = <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h4></section></summary><divclass='docblock'>The resulting type after applying the <code>|</code> operator.</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-BitOrAssign%3CMapPermission%3E-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-BitOrAssign%3CMapPermission%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitOrAssign.html"title="trait core::ops::bit::BitOrAssign">BitOrAssign</a><<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.bitor_assign"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.bitor_assign"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitOrAssign.html#tymethod.bitor_assign"class="fn">bitor_assign</a>(&mut self, other: Self)</h4></section></summary><divclass="docblock"><p>Adds the set of flags.</p>
</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-BitXor%3CMapPermission%3E-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-BitXor%3CMapPermission%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitXor.html"title="trait core::ops::bit::BitXor">BitXor</a><<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.bitxor"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.bitxor"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitXor.html#tymethod.bitxor"class="fn">bitxor</a>(self, other: Self) -> Self</h4></section></summary><divclass="docblock"><p>Returns the left flags, but with all the right flags toggled.</p>
</div></details><detailsclass="toggle"open><summary><sectionid="associatedtype.Output-1"class="associatedtype trait-impl"><ahref="#associatedtype.Output-1"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitXor.html#associatedtype.Output"class="associatedtype">Output</a> = <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h4></section></summary><divclass='docblock'>The resulting type after applying the <code>^</code> operator.</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-BitXorAssign%3CMapPermission%3E-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-BitXorAssign%3CMapPermission%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitXorAssign.html"title="trait core::ops::bit::BitXorAssign">BitXorAssign</a><<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.bitxor_assign"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.bitxor_assign"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/ops/bit/trait.BitXorAssign.html#tymethod.bitxor_assign"class="fn">bitxor_assign</a>(&mut self, other: Self)</h4></section></summary><divclass="docblock"><p>Toggles the set of flags.</p>
</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Clone-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-Clone-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.clone"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.clone"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone"class="fn">clone</a>(&self) -><aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h4></section></summary><divclass='docblock'>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.clone_from"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="src"href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#169">source</a></span><ahref="#method.clone_from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from"class="fn">clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&Self</a>)</h4></section></summary><divclass='docblock'>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Debug-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-Debug-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.fmt-2"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.fmt-2"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt"class="fn">fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></h4></section></summary><divclass='docblock'>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Extend%3CMapPermission%3E-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-Extend%3CMapPermission%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collec
Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><divclass='docblock'>Feeds a slice of this type into the given <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher"><code>Hasher</code></a>. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-LowerHex-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-LowerHex-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerHex.html"title="trait core::fmt::LowerHex">LowerHex</a> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.fmt-1"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.fmt-1"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerHex.html#tymethod.fmt"class="fn">fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></h4></section></summary><divclass='docblock'>Formats the value using the given formatter.</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Not-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-Not-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/bit/trait.Not.html"title="trait core::ops::bit::Not">Not</a> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.not"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.not"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/ops/bit/trait.Not.html#tymethod.not"class="fn">not</a>(self) -> Self</h4></section></summary><divclass="docblock"><p>Returns the complement of this set of flags.</p>
</div></details><detailsclass="toggle"open><summary><sectionid="associatedtype.Output"class="associatedtype trait-impl"><ahref="#associatedtype.Output"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/core/ops/bit/trait.Not.html#associatedtype.Output"class="associatedtype">Output</a> = <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h4></section></summary><divclass='docblock'>The resulting type after applying the <code>!</code> operator.</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Octal-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-Octal-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Octal.html"title="trait core::fmt::Octal">Octal</a> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.fmt"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.fmt"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Octal.html#tymethod.fmt"class="fn">fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></h4></section></summary><divclass='docblock'>Formats the value using the given formatter.</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Ord-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-Ord-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.cmp"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.cmp"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp"class="fn">cmp</a>(&self, other: &<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><divclass='docblock'>This method returns an <ahref="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.max"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.21.0">1.21.0</span> · <aclass="src"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#828-830">source</a></span><ahref="#method.max"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max"class="fn">max</a>(self, other: Self) -> Self<spanclas
Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><divclass='docblock'>Compares and returns the maximum of two values. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.min"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.21.0">1.21.0</span> · <aclass="src"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#848-850">source</a></span><ahref="#method.min"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min"class="fn">min</a>(self, other: Self) -> Self<spanclass="where fmt-newline">where
Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><divclass='docblock'>Compares and returns the minimum of two values. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.clamp"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.50.0">1.50.0</span> · <aclass="src"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#873-876">source</a></span><ahref="#method.clamp"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp"class="fn">clamp</a>(self, min: Self, max: Self) -> Self<spanclass="where fmt-newline">where
Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><Self>,</span></h4></section></summary><divclass='docblock'>Restrict a value to a certain interval. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-PartialEq%3CMapPermission%3E-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-PartialEq%3CMapPermission%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.eq"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.eq"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq"class="fn">eq</a>(&self, other: &<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.ne"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="src"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#239">source</a></span><ahref="#method.ne"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne"class="fn">ne</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&Rhs</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
sufficient, and should not be overridden without very good reason.</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-PartialOrd%3CMapPermission%3E-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-PartialOrd%3CMapPermission%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.partial_cmp"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.partial_cmp"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp"class="fn">partial_cmp</a>(&self, other: &<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><divclass='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.lt"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="src"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1124">source</a></span><ahref="#method.lt"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt"class="fn">lt</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&Rhs</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.le"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="src"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1141">source</a></span><ahref="#method.le"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le"class="fn">le</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&Rhs</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code>
operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.gt"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="src"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1157">source</a></span><ahref="#method.gt"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt"class="fn">gt</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&Rhs</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.ge"class="method trait-impl"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="src"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1174">source</a></span><ahref="#method.ge"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge"class="fn">ge</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&Rhs</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code>
operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Sub%3CMapPermission%3E-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-Sub%3CMapPermission%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html"title="trait core::ops::arith::Sub">Sub</a><<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.sub"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.sub"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#tymethod.sub"class="fn">sub</a>(self, other: Self) -> Self</h4></section></summary><divclass="docblock"><p>Returns the set difference of the two sets of flags.</p>
</div></details><detailsclass="toggle"open><summary><sectionid="associatedtype.Output-4"class="associatedtype trait-impl"><ahref="#associatedtype.Output-4"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Sub.html#associatedtype.Output"class="associatedtype">Output</a> = <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h4></section></summary><divclass='docblock'>The resulting type after applying the <code>-</code> operator.</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-SubAssign%3CMapPermission%3E-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-SubAssign%3CMapPermission%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html"title="trait core::ops::arith::SubAssign">SubAssign</a><<aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a>> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.sub_assign"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.sub_assign"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign"class="fn">sub_assign</a>(&mut self, other: Self)</h4></section></summary><divclass="docblock"><p>Disables all flags enabled in the set.</p>
</div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-UpperHex-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-UpperHex-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperHex.html"title="trait core::fmt::UpperHex">UpperHex</a> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.fmt-4"class="method trait-impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#method.fmt-4"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperHex.html#tymethod.fmt"class="fn">fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></h4></section></summary><divclass='docblock'>Formats the value using the given formatter.</div></details></div></details><sectionid="impl-Copy-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-Copy-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section><sectionid="impl-Eq-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-Eq-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section><sectionid="impl-StructuralEq-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-StructuralEq-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralEq.html"title="trait core::marker::StructuralEq">StructuralEq</a> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section><sectionid="impl-StructuralPartialEq-for-MapPermission"class="impl"><aclass="src rightside"href="../../src/os/mm/memory_set.rs.html#367-379">source</a><ahref="#impl-StructuralPartialEq-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html"title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <aclass="struct"href="memory_set/struct.MapPermission.html"title="struct os::mm::memory_set::MapPermission">MapPermission</a></h3></section></div><h2id="synthetic-implementations"class="small-section-header">Auto Trait Implementations<ahref="#synthetic-implementations"class="anchor">§</a></h2><divid="synthetic-implementations-list"><sectionid="impl-RefUnwindSafe-for-MapPermission"class="impl"><ahref="#impl-RefUnwindSafe-for-MapPermission"class="anchor">§</a><h3class="code-header">impl <aclass="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
T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.type_id"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#136">source</a><ahref="#method.type_id"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id"class="fn">type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></h4></section></summary><divclass='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Borrow%3CT%3E-for-MapPermission"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208">source</a><ahref="#impl-Borrow%3CT%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T<spanclass="where fmt-newline">where
T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.borrow"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210">source</a><ahref="#method.borrow"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow"class="fn">borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&T</a></h4></section></summary><divclass='docblock'>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-BorrowMut%3CT%3E-for-MapPermission"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216">source</a><ahref="#impl-BorrowMut%3CT%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<spanclass="where fmt-newline">where
T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.borrow_mut"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">source</a><ahref="#method.borrow_mut"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"class="fn">borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&mut T</a></h4></section></summary><divclass='docblock'>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-From%3CT%3E-for-MapPermission"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#764">source</a><ahref="#impl-From%3CT%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl<T><aclass="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><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.from"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#767">source</a><ahref="#method.from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from"class="fn">from</a>(t: T) -> T</h4></section></summary><divclass="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Into%3CU%3E-for-MapPermission"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#748">source</a><ahref="#impl-Into%3CU%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><U> for T<spanclass="where fmt-newline">where
<code><ahref="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><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-ToOwned-for-MapPermission"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#83">source</a><ahref="#impl-ToOwned-for-MapPermission"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T<spanclass="where fmt-newline">where
T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Owned"class="associatedtype trait-impl"><ahref="#associatedtype.Owned"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned"class="associatedtype">Owned</a> = T</h4></section></summary><divclass='docblock'>The resulting type after obtaining ownership.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.to_owned"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#88">source</a><ahref="#method.to_owned"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned"class="fn">to_owned</a>(&self) -> T</h4></section></summary><divclass='docblock'>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.clone_into"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#92">source</a><ahref="#method.clone_into"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into"class="fn">clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&mut T</a>)</h4></section></summary><divclass='docblock'>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E-for-MapPermission"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#804">source</a><ahref="#impl-TryFrom%3CU%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T<spanclass="where fmt-newline">where
U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Error-1"class="associatedtype trait-impl"><ahref="#associatedtype.Error-1"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></h4></section></summary><divclass='docblock'>The type returned in the event of a conversion error.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.try_from"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#811">source</a><ahref="#method.try_from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from"class="fn">try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="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><divclass='docblock'>Performs the conversion.</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-TryInto%3CU%3E-for-MapPermission"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#789">source</a><ahref="#impl-TryInto%3CU%3E-for-MapPermission"class="anchor">§</a><h3class="code-header">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T<spanclass="where fmt-newline">where
U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Error"class="associatedtype trait-impl"><ahref="#associatedtype.Error"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="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><divclass='docblock'>The type returned in the event of a conversion error.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.try_into"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#796">source</a><ahref="#method.try_into"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into"class="fn">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="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><divclass='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main></body></html>