<!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="API documentation for the Rust `SignalFlags` struct in crate `os`."><metaname="keywords"content="rust, rustlang, rust-lang, SignalFlags"><title>SignalFlags in os::task::signal - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../../SourceSerif4-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../../FiraSans-Regular.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../../FiraSans-Medium.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../../SourceCodePro-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../../SourceSerif4-Bold.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../../SourceCodePro-Semibold.ttf.woff2"><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../ayu.css"disabled><linkrel="stylesheet"type="text/css"href="../../../dark.css"disabled><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptid="default-settings"></script><scriptsrc="../../../storage.js"></script><scriptsrc="../../../crates.js"></script><scriptdefersrc="../../../main.js"></script>
<noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="alternate icon"type="image/png"href="../../../favicon-16x16.png"><linkrel="alternate icon"type="image/png"href="../../../favicon-32x32.png"><linkrel="icon"type="image/svg+xml"href="../../../favicon.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="sidebar-logo"href="../../../os/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../../rust-logo.svg"alt="logo"></div>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.all"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.all"class="anchor"></a><h4class="code-header">pub const fn <ahref="#method.all"class="fnname">all</a>() -> Self</h4></section></summary><divclass="docblock"><p>Returns the set containing all flags.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.bits"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.bits"class="anchor"></a><h4class="code-header">pub const fn <ahref="#method.bits"class="fnname">bits</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.u32.html">u32</a></h4></section></summary><divclass="docblock"><p>Returns the raw value of the flags currently stored.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from_bits"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.from_bits"class="anchor"></a><h4class="code-header">pub const fn <ahref="#method.from_bits"class="fnname">from_bits</a>(bits: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.u32.html">u32</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="rustdoc-toggle method-toggle"open><summary><sectionid="method.is_empty"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.is_empty"class="anchor"></a><h4class="code-header">pub const fn <ahref="#method.is_empty"class="fnname">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="rustdoc-toggle method-toggle"open><summary><sectionid="method.is_all"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.is_all"class="anchor"></a><h4class="code-header">pub const fn <ahref="#method.is_all"class="fnname">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="rustdoc-toggle method-toggle"open><summary><sectionid="method.intersects"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.intersects"class="anchor"></a><h4class="code-header">pub const fn <ahref="#method.intersects"class="fnname">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="rustdoc-toggle method-toggle"open><summary><sectionid="method.contains"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.contains"class="anchor"></a><h4class="code-header">pub const fn <ahref="#method.contains"class="fnname">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="rustdoc-toggle method-toggle"open><summary><sectionid="method.set"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.set"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.set"class="fnname">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="rustdoc-toggle method-toggle"open><summary><sectionid="method.intersection"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.intersection"class="anchor"></a><h4class="code-header">pub const fn <ahref="#method.intersection"class="fnname">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="rustdoc-toggle method-toggle"open><summary><sectionid="method.union"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.union"class="anchor"></a><h4class="code-header">pub const fn <ahref="#method.union"class="fnname">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>
<p>Specifically, the returned set contains all flags which are
present in <em>either</em><code>self</code><em>or</em><code>other</code>, including any which are
present in both (see <ahref="struct.SignalFlags.html#method.symmetric_difference"title="Self::symmetric_difference"><code>Self::symmetric_difference</code></a> if that
is undesirable).</p>
<p>This is equivalent to using the <code>|</code> operator (e.g.
<ahref="https://doc.rust-lang.org/std/ops/trait.BitOr.html"><code>ops::BitOr</code></a>), as in <code>flags | other</code>.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.difference"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.difference"class="anchor"></a><h4class="code-header">pub const fn <ahref="#method.difference"class="fnname">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="rustdoc-toggle method-toggle"open><summary><sectionid="method.complement"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.complement"class="anchor"></a><h4class="code-header">pub const fn <ahref="#method.complement"class="fnname">complement</a>(self) -> Self</h4></section></summary><divclass="docblock"><p>Returns the complement of this set of flags.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-1"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#13-29">source</a></span><ahref="#impl-1"class="anchor"></a><h3class="code-header in-band">impl <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><sectionid="method.check_error"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#14-28">source</a></span><ahref="#method.check_error"class="anchor"></a><h4class="code-header">pub fn <ahref="#method.check_error"class="fnname">check_error</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.tuple.html">(</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.i32.html">i32</a>, &'static <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.str.html">str</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.tuple.html">)</a>></h4></section></div></details></div><h2id="trait-implementations"class="small-section-header">Trait Implementations<ahref="#trait-implementations"class="anchor"></a></h2><divid="trait-implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Binary"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-Binary"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt-1"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.fmt-1"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Binary.html#tymethod.fmt"class="fnname">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'><p>Formats the value using the given formatter.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-BitAnd%3CSignalFlags%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-BitAnd%3CSignalFlags%3E"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.bitand"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">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="rustdoc-toggle"open><summary><sectionid="associatedtype.Output-2"class="type trait-impl has-srclink"><ahref="#associatedtype.Output-2"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> = Self</h4></section></summary><divclass='docblock'><p>The resulting type after applying the <code>&</code> operator.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-BitAndAssign%3CSignalFlags%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-BitAndAssign%3CSignalFlags%3E"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.bitand_assign"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">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="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-BitOr%3CSignalFlags%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-BitOr%3CSignalFlags%3E"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.bitor"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">bitor</a>(self, other: <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>) -> Self</h4></section></summary><divclass="docblock"><p>Returns the union of the two sets of flags.</p>
</div></details><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Output"class="type trait-impl has-srclink"><ahref="#associatedtype.Output"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> = Self</h4></section></summary><divclass='docblock'><p>The resulting type after applying the <code>|</code> operator.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-BitOrAssign%3CSignalFlags%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-BitOrAssign%3CSignalFlags%3E"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.bitor_assign"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">bitor_assign</a>(&mut self, other: Self)</h4></section></summary><divclass="docblock"><p>Adds the set of flags.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-BitXor%3CSignalFlags%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-BitXor%3CSignalFlags%3E"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.bitxor"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">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="rustdoc-toggle"open><summary><sectionid="associatedtype.Output-1"class="type trait-impl has-srclink"><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> = Self</h4></section></summary><divclass='docblock'><p>The resulting type after applying the <code>^</code> operator.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-BitXorAssign%3CSignalFlags%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-BitXorAssign%3CSignalFlags%3E"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.bitxor_assign"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">bitxor_assign</a>(&mut self, other: Self)</h4></section></summary><divclass="docblock"><p>Toggles the set of flags.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Clone"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-Clone"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clone"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">clone</a>(&self) -><aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h4></section></summary><divclass='docblock'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clone_from"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#133-135">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="fnname">clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&</a>Self)</h4></section></summary><divclass='docblock'><p>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></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Debug"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-Debug"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.fmt"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt"class="fnname">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'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Extend%3CSignalFlags%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-Extend%3CSignalFlags%3E"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.Extend.html"title="trait core::iter::traits::collect::Extend">Extend</a><<aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.extend"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.extend"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.Extend.html#tymethod.extend"class="fnname">extend</a><T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = Self>>(&mut self, iterator: T)</h4></section></summary><divclass='docblock'><p>Extends a collection with the contents of an iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.Extend.html#tymethod.extend">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.extend_one"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/collect.rs.html#376">source</a></span><ahref="#method.extend_one"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.Extend.html#method.extend_one"class="fnname">extend_one</a>(&mut self, item: A)</h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>extend_one</code>)</div></span><divclass='docblock'><p>Extends a collection with exactly one element.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.extend_reserve"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/iter/traits/collect.rs.html#384">source</a></span><ahref="#method.extend_reserve"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.Extend.html#method.extend_reserve"class="fnname">extend_reserve</a>(&mut self, additional: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.usize.html">usize</a>)</h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>extend_one</code>)</div></span><divclass='docblock'><p>Reserves capacity in a collection for the given number of additional elements. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.Extend.html#method.extend_reserve">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-FromIterator%3CSignalFlags%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-FromIterator%3CSignalFlags%3E"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.FromIterator.html"title="trait core::iter::traits::collect::FromIterator">FromIterator</a><<aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from_iter"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.from_iter"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter"class="fnname">from_iter</a><T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html"title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = Self>>(iterator: T) -> Self</h4></section></summary><divclass='docblock'><p>Creates a value from an iterator. <ahref="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.FromIterator.html#tymethod.from_iter">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Hash"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-Hash"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.hash"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.hash"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash"class="fnname">hash</a><__H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&mut </a>__H)</h4></section></summary><divclass='docblock'><p>Feeds this value into the given <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="Hasher"><code>Hasher</code></a>. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.hash_slice"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.3.0">1.3.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#237-239">source</a></span><ahref="#method.hash_slice"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice"class="fnname">hash_slice</a><H>(data: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.slice.html">&[Self]</a>, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&mut </a>H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></h4></section></summary><divclass='docblock'><p>Feeds a slice of this type into the given <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="Hasher"><code>Hasher</code></a>. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-LowerHex"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-LowerHex"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt-3"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.fmt-3"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerHex.html#tymethod.fmt"class="fnname">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'><p>Formats the value using the given formatter.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Not"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-Not"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.not"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">not</a>(self) -> Self</h4></section></summary><divclass="docblock"><p>Returns the complement of this set of flags.</p>
</div></details><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Output-4"class="type trait-impl has-srclink"><ahref="#associatedtype.Output-4"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> = Self</h4></section></summary><divclass='docblock'><p>The resulting type after applying the <code>!</code> operator.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Octal"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-Octal"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt-2"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#method.fmt-2"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Octal.html#tymethod.fmt"class="fnname">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'><p>Formats the value using the given formatter.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Ord"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-Ord"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.cmp"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">cmp</a>(&self, other: &<aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</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'><p>This method returns an <ahref="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="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></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.max"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.21.0">1.21.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#796-798">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="fnname">max</a>(self, other: Self) -> Self</h4></section></summary><divclass='docblock'><p>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></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.min"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.21.0">1.21.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#816-818">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="fnname">min</a>(self, other: Self) -> Self</h4></section></summary><divclass='docblock'><p>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></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clamp"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.50.0">1.50.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#841-843">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="fnname">clamp</a>(self, min: Self, max: Self) -> Self</h4></section></summary><divclass='docblock'><p>Restrict a value to a certain interval. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-PartialEq%3CSignalFlags%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-PartialEq%3CSignalFlags%3E"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.eq"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">eq</a>(&self, other: &<aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-PartialOrd%3CSignalFlags%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-PartialOrd%3CSignalFlags%3E"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.partial_cmp"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">partial_cmp</a>(&self, other: &<aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</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'><p>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></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.lt"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1100">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="fnname">lt</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>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></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.le"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1120">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="fnname">le</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.gt"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1143">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="fnname">gt</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>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></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.ge"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1163">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="fnname">ge</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Sub%3CSignalFlags%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-Sub%3CSignalFlags%3E"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.sub"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">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="rustdoc-toggle"open><summary><sectionid="associatedtype.Output-3"class="type trait-impl has-srclink"><ahref="#associatedtype.Output-3"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> = Self</h4></section></summary><divclass='docblock'><p>The resulting type after applying the <code>-</code> operator.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-SubAssign%3CSignalFlags%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-SubAssign%3CSignalFlags%3E"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a>> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.sub_assign"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">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="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-UpperHex"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-UpperHex"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt-4"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><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="fnname">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'><p>Formats the value using the given formatter.</p>
</div></details></div></details><sectionid="impl-Copy"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-Copy"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section><sectionid="impl-Eq"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-Eq"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section><sectionid="impl-StructuralEq"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-StructuralEq"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section><sectionid="impl-StructuralPartialEq"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../../src/os/task/signal.rs.html#3-11">source</a></span><ahref="#impl-StructuralPartialEq"class="anchor"></a><h3class="code-header in-band">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="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</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"class="impl has-srclink"><ahref="#impl-RefUnwindSafe"class="anchor"></a><h3class="code-header in-band">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 <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section><sectionid="impl-Send"class="impl has-srclink"><ahref="#impl-Send"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section><sectionid="impl-Sync"class="impl has-srclink"><ahref="#impl-Sync"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section><sectionid="impl-Unpin"class="impl has-srclink"><ahref="#impl-Unpin"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="struct.SignalFlags.html"title="struct os::task::signal::SignalFlags">SignalFlags</a></h3></section><sectionid="impl-UnwindSafe"class="impl has-srclink"><ahref="#impl-UnwindSafe"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/panic
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-ToOwned"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#84-96">source</a></span><ahref="#impl-ToOwned"class="anchor"></a><h3class="code-header in-band">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<br> 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="rustdoc-toggle"open><summary><sectionid="associatedtype.Owned"class="type trait-impl has-srclink"><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'><p>The resulting type after obtaining ownership.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_owned"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89">source</a></span><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="fnname">to_owned</a>(&self) -> T</h4></section></summary><divclass='docblock'><p>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></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clone_into"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#93">source</a></span><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="fnname">clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&mut </a>T)</h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</div></span><divclass='docblock'><p>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></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#598-607">source</a></span><ahref="#impl-TryFrom%3CU%3E"class="anchor"></a><h3class="code-header in-band">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<br> 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="rustdoc-toggle"open><summary><sectionid="associatedtype.Error"class="type trait-impl has-srclink"><ahref="#associatedtype.Error"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'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_from"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#604">source</a></span><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="fnname">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'><p>Performs the conversion.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryInto%3CU%3E"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#583-592">source</a></span><ahref="#impl-TryInto%3CU%3E"class="anchor"></a><h3class="code-header in-band">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<br> 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="rustdoc-toggle"open><summary><sectionid="associatedtype.Error-1"class="type trait-impl has-srclink"><ahref="#associatedtype.Error-1"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'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_into"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#589">source</a></span><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="fnname">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'><p>Performs the conversion.</p>