mirror of
https://github.com/Dvorinka/Devour.git
synced 2026-06-04 12:33:04 +00:00
269 lines
228 KiB
Markdown
269 lines
228 KiB
Markdown
https://doc.rust-lang.org/stable/std/simd/struct.Mask.html#method.test
|
||
|
||
<main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div id="sidebar-button"><a href="../../std/all.html" title="show sidebar"></a></div><div class="rustdoc-breadcrumbs"><a href="../index.html">std</a>::<wbr><a href="index.html">simd</a></div><h1>Struct <span class="struct">Mask</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="sub-heading"><a class="src" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#112">Source</a> </span><rustdoc-toolbar>
|
||
<div id="search-button" tabindex="-1">
|
||
<a href="https://doc.rust-lang.org/stable/std/simd/struct.Mask.html?search="><span class="label">Search</span></a>
|
||
</div>
|
||
<div class="settings-menu" tabindex="-1">
|
||
<a href="../../settings.html"><span class="label">Settings</span></a>
|
||
</div>
|
||
<div class="help-menu" tabindex="-1">
|
||
<a href="../../help.html"><span class="label">Help</span></a>
|
||
</div>
|
||
<button id="toggle-all-docs" title="Collapse sections (shift-click to also collapse impl blocks)"><span class="label">Summary</span></button></rustdoc-toolbar></div><pre class="rust item-decl"><code>pub struct Mask<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>>(<span class="comment">/* private fields */</span>)
|
||
<span class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a></span>;</code></pre><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><details class="toggle top-doc" open=""><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A SIMD vector mask for <code>N</code> elements of width specified by <code>Element</code>.</p>
|
||
<p>Masks represent boolean inclusion/exclusion on a per-element basis.</p>
|
||
<p>The layout of this type is unspecified, and may change between platforms
|
||
and/or Rust versions, and code should not assume that it is equivalent to
|
||
<code>[T; N]</code>.</p>
|
||
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open=""><summary><section id="impl-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/swizzle.rs.html#517-520">Source</a><a href="#impl-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.reverse" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/swizzle.rs.html#525">Source</a><h4 class="code-header">pub fn <a href="#method.reverse" class="fn">reverse</a>(self) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Reverse the order of the elements in the mask.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.rotate_elements_left" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/swizzle.rs.html#535">Source</a><h4 class="code-header">pub fn <a href="#method.rotate_elements_left" class="fn">rotate_elements_left</a><const OFFSET: <a class="primitive" href="../primitive.usize.html">usize</a>>(self) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Rotates the mask such that the first <code>OFFSET</code> elements of the slice move to the end
|
||
while the last <code>self.len() - OFFSET</code> elements move to the front. After calling <code>rotate_elements_left</code>,
|
||
the element previously at index <code>OFFSET</code> will become the first element in the slice.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.rotate_elements_right" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/swizzle.rs.html#545">Source</a><h4 class="code-header">pub fn <a href="#method.rotate_elements_right" class="fn">rotate_elements_right</a><const OFFSET: <a class="primitive" href="../primitive.usize.html">usize</a>>(self) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Rotates the mask such that the first <code>self.len() - OFFSET</code> elements of the mask move to
|
||
the end while the last <code>OFFSET</code> elements move to the front. After calling <code>rotate_elements_right</code>,
|
||
the element previously at index <code>self.len() - OFFSET</code> will become the first element in the slice.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.shift_elements_left" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/swizzle.rs.html#554">Source</a><h4 class="code-header">pub fn <a href="#method.shift_elements_left" class="fn">shift_elements_left</a><const OFFSET: <a class="primitive" href="../primitive.usize.html">usize</a>>(
|
||
self,
|
||
padding: <a class="primitive" href="../primitive.bool.html">bool</a>,
|
||
) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Shifts the mask elements to the left by <code>OFFSET</code>, filling in with
|
||
<code>padding</code> from the right.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.shift_elements_right" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/swizzle.rs.html#569">Source</a><h4 class="code-header">pub fn <a href="#method.shift_elements_right" class="fn">shift_elements_right</a><const OFFSET: <a class="primitive" href="../primitive.usize.html">usize</a>>(
|
||
self,
|
||
padding: <a class="primitive" href="../primitive.bool.html">bool</a>,
|
||
) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Shifts the mask elements to the right by <code>OFFSET</code>, filling in with
|
||
<code>padding</code> from the left.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.interleave" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/swizzle.rs.html#600">Source</a><h4 class="code-header">pub fn <a href="#method.interleave" class="fn">interleave</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>) -> (<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>, <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>)</h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Interleave two masks.</p>
|
||
<p>The resulting masks contain elements taken alternatively from <code>self</code> and <code>other</code>, first
|
||
filling the first result, and then the second.</p>
|
||
<p>The reverse of this operation is <a href="struct.Mask.html#method.deinterleave" title="method std::simd::Mask::deinterleave"><code>Mask::deinterleave</code></a>.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>a = mask32x4::from_array([<span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>]);
|
||
<span class="kw">let </span>b = mask32x4::from_array([<span class="bool-val">false</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">true</span>]);
|
||
<span class="kw">let </span>(x, y) = a.interleave(b);
|
||
<span class="macro">assert_eq!</span>(x.to_array(), [<span class="bool-val">false</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">false</span>]);
|
||
<span class="macro">assert_eq!</span>(y.to_array(), [<span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">true</span>, <span class="bool-val">true</span>]);</code></pre><a class="test-arrow" target="_blank" title="Run code" href="https://play.rust-lang.org/?code=%23!%5Ballow(unused)%5D%0A%23!%5Bfeature(portable_simd)%5D%0A%0Afn+main()+%7B%0A++++%23%5Bcfg(feature+=+%22as_crate%22)%5D+use+core_simd::simd;%0A++++%23%5Bcfg(not(feature+=+%22as_crate%22))%5D+use+core::simd;%0A++++use+simd::mask32x4;%0A++++let+a+=+mask32x4::from_array(%5Bfalse,+true,+false,+true%5D);%0A++++let+b+=+mask32x4::from_array(%5Bfalse,+false,+true,+true%5D);%0A++++let+(x,+y)+=+a.interleave(b);%0A++++assert_eq!(x.to_array(),+%5Bfalse,+false,+true,+false%5D);%0A++++assert_eq!(y.to_array(),+%5Bfalse,+true,+true,+true%5D);%0A%7D&version=nightly&edition=2024"></a></div></div></details><details class="toggle method-toggle" open=""><summary><section id="method.deinterleave" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/swizzle.rs.html#629">Source</a><h4 class="code-header">pub fn <a href="#method.deinterleave" class="fn">deinterleave</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>) -> (<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>, <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>)</h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Deinterleave two masks.</p>
|
||
<p>The first result takes every other element of <code>self</code> and then <code>other</code>, starting with
|
||
the first element.</p>
|
||
<p>The second result takes every other element of <code>self</code> and then <code>other</code>, starting with
|
||
the second element.</p>
|
||
<p>The reverse of this operation is <a href="struct.Mask.html#method.interleave" title="method std::simd::Mask::interleave"><code>Mask::interleave</code></a>.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>a = mask32x4::from_array([<span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>]);
|
||
<span class="kw">let </span>b = mask32x4::from_array([<span class="bool-val">false</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">true</span>]);
|
||
<span class="kw">let </span>(x, y) = a.deinterleave(b);
|
||
<span class="macro">assert_eq!</span>(x.to_array(), [<span class="bool-val">false</span>, <span class="bool-val">false</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>]);
|
||
<span class="macro">assert_eq!</span>(y.to_array(), [<span class="bool-val">true</span>, <span class="bool-val">true</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>]);</code></pre><a class="test-arrow" target="_blank" title="Run code" href="https://play.rust-lang.org/?code=%23!%5Ballow(unused)%5D%0A%23!%5Bfeature(portable_simd)%5D%0A%0Afn+main()+%7B%0A++++%23%5Bcfg(feature+=+%22as_crate%22)%5D+use+core_simd::simd;%0A++++%23%5Bcfg(not(feature+=+%22as_crate%22))%5D+use+core::simd;%0A++++use+simd::mask32x4;%0A++++let+a+=+mask32x4::from_array(%5Bfalse,+true,+false,+true%5D);%0A++++let+b+=+mask32x4::from_array(%5Bfalse,+false,+true,+true%5D);%0A++++let+(x,+y)+=+a.deinterleave(b);%0A++++assert_eq!(x.to_array(),+%5Bfalse,+false,+false,+true%5D);%0A++++assert_eq!(y.to_array(),+%5Btrue,+true,+false,+true%5D);%0A%7D&version=nightly&edition=2024"></a></div></div></details><details class="toggle method-toggle" open=""><summary><section id="method.resize" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/swizzle.rs.html#656-658">Source</a><h4 class="code-header">pub fn <a href="#method.resize" class="fn">resize</a><const M: <a class="primitive" href="../primitive.usize.html">usize</a>>(self, value: <a class="primitive" href="../primitive.bool.html">bool</a>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, M><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><M>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Resize a mask.</p>
|
||
<p>If <code>M</code> > <code>N</code>, extends the length of a mask, setting the new elements to <code>value</code>.
|
||
If <code>M</code> < <code>N</code>, truncates the mask to the first <code>M</code> elements.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>x = mask32x4::from_array([<span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">true</span>, <span class="bool-val">false</span>]);
|
||
<span class="macro">assert_eq!</span>(x.resize::<<span class="number">8</span>>(<span class="bool-val">true</span>).to_array(), [<span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">true</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">true</span>, <span class="bool-val">true</span>, <span class="bool-val">true</span>]);
|
||
<span class="macro">assert_eq!</span>(x.resize::<<span class="number">2</span>>(<span class="bool-val">true</span>).to_array(), [<span class="bool-val">false</span>, <span class="bool-val">true</span>]);</code></pre><a class="test-arrow" target="_blank" title="Run code" href="https://play.rust-lang.org/?code=%23!%5Ballow(unused)%5D%0A%23!%5Bfeature(portable_simd)%5D%0A%0Afn+main()+%7B%0A++++%23%5Bcfg(feature+=+%22as_crate%22)%5D+use+core_simd::simd;%0A++++%23%5Bcfg(not(feature+=+%22as_crate%22))%5D+use+core::simd;%0A++++use+simd::mask32x4;%0A++++let+x+=+mask32x4::from_array(%5Bfalse,+true,+true,+false%5D);%0A++++assert_eq!(x.resize::%3C8%3E(true).to_array(),+%5Bfalse,+true,+true,+false,+true,+true,+true,+true%5D);%0A++++assert_eq!(x.resize::%3C2%3E(true).to_array(),+%5Bfalse,+true%5D);%0A%7D&version=nightly&edition=2024"></a></div></div></details><details class="toggle method-toggle" open=""><summary><section id="method.extract" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/swizzle.rs.html#682-684">Source</a><h4 class="code-header">pub fn <a href="#method.extract" class="fn">extract</a><const START: <a class="primitive" href="../primitive.usize.html">usize</a>, const LEN: <a class="primitive" href="../primitive.usize.html">usize</a>>(self) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, LEN><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><LEN>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Extract a vector from another vector.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>x = mask32x4::from_array([<span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">true</span>, <span class="bool-val">false</span>]);
|
||
<span class="macro">assert_eq!</span>(x.extract::<<span class="number">1</span>, <span class="number">2</span>>().to_array(), [<span class="bool-val">true</span>, <span class="bool-val">true</span>]);</code></pre><div class="button-holder"><a class="test-arrow" target="_blank" title="Run code" href="https://play.rust-lang.org/?code=%23!%5Ballow(unused)%5D%0A%23!%5Bfeature(portable_simd)%5D%0A%0Afn+main()+%7B%0A++++%23%5Bcfg(feature+=+%22as_crate%22)%5D+use+core_simd::simd;%0A++++%23%5Bcfg(not(feature+=+%22as_crate%22))%5D+use+core::simd;%0A++++use+simd::mask32x4;%0A++++let+x+=+mask32x4::from_array(%5Bfalse,+true,+true,+false%5D);%0A++++assert_eq!(x.extract::%3C1,+2%3E().to_array(),+%5Btrue,+true%5D);%0A%7D&version=nightly&edition=2024"></a><button class="copy-button" title="Copy code to clipboard"></button></div></div></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-Mask%3CT,+N%3E-1" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#135-138">Source</a><a href="#impl-Mask%3CT,+N%3E-1" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.splat" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#142">Source</a><h4 class="code-header">pub fn <a href="#method.splat" class="fn">splat</a>(value: <a class="primitive" href="../primitive.bool.html">bool</a>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Constructs a mask by setting all elements to the given value.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.from_array" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#148">Source</a><h4 class="code-header">pub fn <a href="#method.from_array" class="fn">from_array</a>(array: [<a class="primitive" href="../primitive.bool.html">bool</a>; <a class="primitive" href="../primitive.array.html">N</a>]) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Converts an array of bools to a SIMD mask.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.to_array" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#165">Source</a><h4 class="code-header">pub fn <a href="#method.to_array" class="fn">to_array</a>(self) -> [<a class="primitive" href="../primitive.bool.html">bool</a>; <a class="primitive" href="../primitive.array.html">N</a>]</h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Converts a SIMD mask to an array of bools.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.from_int_unchecked" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#190">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.from_int_unchecked" class="fn">from_int_unchecked</a>(value: <a class="struct" href="struct.Simd.html" title="struct std::simd::Simd">Simd</a><T, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Converts a vector of integers to a mask, where 0 represents <code>false</code> and -1
|
||
represents <code>true</code>.</p>
|
||
<h5 id="safety"><a class="doc-anchor" href="#safety">§</a>Safety</h5>
|
||
<p>All elements must be either 0 or -1.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.from_int" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#206">Source</a><h4 class="code-header">pub fn <a href="#method.from_int" class="fn">from_int</a>(value: <a class="struct" href="struct.Simd.html" title="struct std::simd::Simd">Simd</a><T, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Converts a vector of integers to a mask, where 0 represents <code>false</code> and -1
|
||
represents <code>true</code>.</p>
|
||
<h5 id="panics"><a class="doc-anchor" href="#panics">§</a>Panics</h5>
|
||
<p>Panics if any element is not 0 or -1.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.to_int" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#216">Source</a><h4 class="code-header">pub fn <a href="#method.to_int" class="fn">to_int</a>(self) -> <a class="struct" href="struct.Simd.html" title="struct std::simd::Simd">Simd</a><T, N></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Converts the mask to a vector of integers, where 0 represents <code>false</code> and -1
|
||
represents <code>true</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.cast" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#223">Source</a><h4 class="code-header">pub fn <a href="#method.cast" class="fn">cast</a><U>(self) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><U, N><div class="where">where
|
||
U: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,</div></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Converts the mask to a mask of any other element size.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.test_unchecked" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#233">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.test_unchecked" class="fn">test_unchecked</a>(&self, index: <a class="primitive" href="../primitive.usize.html">usize</a>) -> <a class="primitive" href="../primitive.bool.html">bool</a></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Tests the value of the specified element.</p>
|
||
<h5 id="safety-1"><a class="doc-anchor" href="#safety-1">§</a>Safety</h5>
|
||
<p><code>index</code> must be less than <code>self.len()</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.test" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#245">Source</a><h4 class="code-header">pub fn <a href="#method.test" class="fn">test</a>(&self, index: <a class="primitive" href="../primitive.usize.html">usize</a>) -> <a class="primitive" href="../primitive.bool.html">bool</a></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Tests the value of the specified element.</p>
|
||
<h5 id="panics-1"><a class="doc-anchor" href="#panics-1">§</a>Panics</h5>
|
||
<p>Panics if <code>index</code> is greater than or equal to the number of elements in the vector.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.set_unchecked" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#256">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.set_unchecked" class="fn">set_unchecked</a>(&mut self, index: <a class="primitive" href="../primitive.usize.html">usize</a>, value: <a class="primitive" href="../primitive.bool.html">bool</a>)</h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Sets the value of the specified element.</p>
|
||
<h5 id="safety-2"><a class="doc-anchor" href="#safety-2">§</a>Safety</h5>
|
||
<p><code>index</code> must be less than <code>self.len()</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.set" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#269">Source</a><h4 class="code-header">pub fn <a href="#method.set" class="fn">set</a>(&mut self, index: <a class="primitive" href="../primitive.usize.html">usize</a>, value: <a class="primitive" href="../primitive.bool.html">bool</a>)</h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Sets the value of the specified element.</p>
|
||
<h5 id="panics-2"><a class="doc-anchor" href="#panics-2">§</a>Panics</h5>
|
||
<p>Panics if <code>index</code> is greater than or equal to the number of elements in the vector.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.any" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#280">Source</a><h4 class="code-header">pub fn <a href="#method.any" class="fn">any</a>(self) -> <a class="primitive" href="../primitive.bool.html">bool</a></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Returns true if any element is set, or false otherwise.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.all" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#287">Source</a><h4 class="code-header">pub fn <a href="#method.all" class="fn">all</a>(self) -> <a class="primitive" href="../primitive.bool.html">bool</a></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Returns true if all elements are set, or false otherwise.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.to_bitmask" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#297">Source</a><h4 class="code-header">pub fn <a href="#method.to_bitmask" class="fn">to_bitmask</a>(self) -> <a class="primitive" href="../primitive.u64.html">u64</a></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Creates a bitmask from a mask.</p>
|
||
<p>Each bit is set if the corresponding element in the mask is <code>true</code>.
|
||
If the mask contains more than 64 elements, the bitmask is truncated to the first 64.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.from_bitmask" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#307">Source</a><h4 class="code-header">pub fn <a href="#method.from_bitmask" class="fn">from_bitmask</a>(bitmask: <a class="primitive" href="../primitive.u64.html">u64</a>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Creates a mask from a bitmask.</p>
|
||
<p>For each bit, if it is set, the corresponding element in the mask is set to <code>true</code>.
|
||
If the mask contains more than 64 elements, the remainder are set to <code>false</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open=""><summary><section id="method.first_set" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#326">Source</a><h4 class="code-header">pub fn <a href="#method.first_set" class="fn">first_set</a>(self) -> <a class="enum" href="../option/enum.Option.html" title="enum std::option::Option">Option</a><<a class="primitive" href="../primitive.usize.html">usize</a>></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Finds the index of the first set element.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(mask32x8::splat(<span class="bool-val">false</span>).first_set(), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(mask32x8::splat(<span class="bool-val">true</span>).first_set(), <span class="prelude-val">Some</span>(<span class="number">0</span>));
|
||
|
||
<span class="kw">let </span>mask = mask32x8::from_array([<span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">false</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">false</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>]);
|
||
<span class="macro">assert_eq!</span>(mask.first_set(), <span class="prelude-val">Some</span>(<span class="number">1</span>));</code></pre><a class="test-arrow" target="_blank" title="Run code" href="https://play.rust-lang.org/?code=%23!%5Ballow(unused)%5D%0A%23!%5Bfeature(portable_simd)%5D%0A%0Afn+main()+%7B%0A++++%23%5Bcfg(feature+=+%22as_crate%22)%5D+use+core_simd::simd;%0A++++%23%5Bcfg(not(feature+=+%22as_crate%22))%5D+use+core::simd;%0A++++use+simd::mask32x8;%0A++++assert_eq!(mask32x8::splat(false).first_set(),+None);%0A++++assert_eq!(mask32x8::splat(true).first_set(),+Some(0));%0A++++%0A++++let+mask+=+mask32x8::from_array(%5Bfalse,+true,+false,+false,+true,+false,+false,+true%5D);%0A++++assert_eq!(mask.first_set(),+Some(1));%0A%7D&version=nightly&edition=2024"></a></div></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-Mask%3CT,+N%3E-2" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/select.rs.html#3-6">Source</a><a href="#impl-Mask%3CT,+N%3E-2" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.select" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/select.rs.html#25-27">Source</a><h4 class="code-header">pub fn <a href="#method.select" class="fn">select</a><U>(
|
||
self,
|
||
true_values: <a class="struct" href="struct.Simd.html" title="struct std::simd::Simd">Simd</a><U, N>,
|
||
false_values: <a class="struct" href="struct.Simd.html" title="struct std::simd::Simd">Simd</a><U, N>,
|
||
) -> <a class="struct" href="struct.Simd.html" title="struct std::simd::Simd">Simd</a><U, N><div class="where">where
|
||
U: <a class="trait" href="trait.SimdElement.html" title="trait std::simd::SimdElement">SimdElement</a><Mask = T>,</div></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Choose elements from two vectors.</p>
|
||
<p>For each element in the mask, choose the corresponding element from <code>true_values</code> if
|
||
that element mask is true, and <code>false_values</code> if that element mask is false.</p>
|
||
<h5 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>a = Simd::from_array([<span class="number">0</span>, <span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>]);
|
||
<span class="kw">let </span>b = Simd::from_array([<span class="number">4</span>, <span class="number">5</span>, <span class="number">6</span>, <span class="number">7</span>]);
|
||
<span class="kw">let </span>mask = Mask::from_array([<span class="bool-val">true</span>, <span class="bool-val">false</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>]);
|
||
<span class="kw">let </span>c = mask.select(a, b);
|
||
<span class="macro">assert_eq!</span>(c.to_array(), [<span class="number">0</span>, <span class="number">5</span>, <span class="number">6</span>, <span class="number">3</span>]);</code></pre><a class="test-arrow" target="_blank" title="Run code" href="https://play.rust-lang.org/?code=%23!%5Ballow(unused)%5D%0A%23!%5Bfeature(portable_simd)%5D%0A%0Afn+main()+%7B%0A++++use+core::simd::%7BSimd,+Mask%7D;%0A++++let+a+=+Simd::from_array(%5B0,+1,+2,+3%5D);%0A++++let+b+=+Simd::from_array(%5B4,+5,+6,+7%5D);%0A++++let+mask+=+Mask::from_array(%5Btrue,+false,+false,+true%5D);%0A++++let+c+=+mask.select(a,+b);%0A++++assert_eq!(c.to_array(),+%5B0,+5,+6,+3%5D);%0A%7D&version=nightly&edition=2024"></a></div></div></details><details class="toggle method-toggle" open=""><summary><section id="method.select_mask" class="method"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/select.rs.html#51">Source</a><h4 class="code-header">pub fn <a href="#method.select_mask" class="fn">select_mask</a>(
|
||
self,
|
||
true_values: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>,
|
||
false_values: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>,
|
||
) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span></summary><div class="docblock"><p>Choose elements from two masks.</p>
|
||
<p>For each element in the mask, choose the corresponding element from <code>true_values</code> if
|
||
that element mask is true, and <code>false_values</code> if that element mask is false.</p>
|
||
<h5 id="examples-1"><a class="doc-anchor" href="#examples-1">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>a = Mask::<i32, <span class="number">4</span>>::from_array([<span class="bool-val">true</span>, <span class="bool-val">true</span>, <span class="bool-val">false</span>, <span class="bool-val">false</span>]);
|
||
<span class="kw">let </span>b = Mask::<i32, <span class="number">4</span>>::from_array([<span class="bool-val">false</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">true</span>]);
|
||
<span class="kw">let </span>mask = Mask::<i32, <span class="number">4</span>>::from_array([<span class="bool-val">true</span>, <span class="bool-val">false</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>]);
|
||
<span class="kw">let </span>c = mask.select_mask(a, b);
|
||
<span class="macro">assert_eq!</span>(c.to_array(), [<span class="bool-val">true</span>, <span class="bool-val">false</span>, <span class="bool-val">true</span>, <span class="bool-val">false</span>]);</code></pre><a class="test-arrow" target="_blank" title="Run code" href="https://play.rust-lang.org/?code=%23!%5Ballow(unused)%5D%0A%23!%5Bfeature(portable_simd)%5D%0A%0Afn+main()+%7B%0A++++use+core::simd::Mask;%0A++++let+a+=+Mask::%3Ci32,+4%3E::from_array(%5Btrue,+true,+false,+false%5D);%0A++++let+b+=+Mask::%3Ci32,+4%3E::from_array(%5Bfalse,+false,+true,+true%5D);%0A++++let+mask+=+Mask::%3Ci32,+4%3E::from_array(%5Btrue,+false,+false,+true%5D);%0A++++let+c+=+mask.select_mask(a,+b);%0A++++assert_eq!(c.to_array(),+%5Btrue,+false,+true,+false%5D);%0A%7D&version=nightly&edition=2024"></a></div></div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitAnd%3CMask%3CT,+N%3E%3E-for-bool" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#468-471">Source</a><a href="#impl-BitAnd%3CMask%3CT,+N%3E%3E-for-bool" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitAnd.html" title="trait std::ops::BitAnd">BitAnd</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>> for <a class="primitive" href="../primitive.bool.html">bool</a><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Output-9" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#473">Source</a><a href="#associatedtype.Output-9" class="anchor">§</a><h4 class="code-header">type <a href="../ops/trait.BitAnd.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">The resulting type after applying the <code>&</code> operator.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.bitand-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#475">Source</a><a href="#method.bitand-2" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitAnd.html#tymethod.bitand" class="fn">bitand</a>(self, rhs: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">Performs the <code>&</code> operation. <a href="../ops/trait.BitAnd.html#tymethod.bitand">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitAnd%3Cbool%3E-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#456-459">Source</a><a href="#impl-BitAnd%3Cbool%3E-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitAnd.html" title="trait std::ops::BitAnd">BitAnd</a><<a class="primitive" href="../primitive.bool.html">bool</a>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Output-8" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#461">Source</a><a href="#associatedtype.Output-8" class="anchor">§</a><h4 class="code-header">type <a href="../ops/trait.BitAnd.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">The resulting type after applying the <code>&</code> operator.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.bitand-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#463">Source</a><a href="#method.bitand-1" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitAnd.html#tymethod.bitand" class="fn">bitand</a>(self, rhs: <a class="primitive" href="../primitive.bool.html">bool</a>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">Performs the <code>&</code> operation. <a href="../ops/trait.BitAnd.html#tymethod.bitand">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitAnd-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#444-447">Source</a><a href="#impl-BitAnd-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitAnd.html" title="trait std::ops::BitAnd">BitAnd</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Output-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#449">Source</a><a href="#associatedtype.Output-7" class="anchor">§</a><h4 class="code-header">type <a href="../ops/trait.BitAnd.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">The resulting type after applying the <code>&</code> operator.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.bitand" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#451">Source</a><a href="#method.bitand" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitAnd.html#tymethod.bitand" class="fn">bitand</a>(self, rhs: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">Performs the <code>&</code> operation. <a href="../ops/trait.BitAnd.html#tymethod.bitand">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitAndAssign%3Cbool%3E-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#575-578">Source</a><a href="#impl-BitAndAssign%3Cbool%3E-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitAndAssign.html" title="trait std::ops::BitAndAssign">BitAndAssign</a><<a class="primitive" href="../primitive.bool.html">bool</a>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.bitand_assign-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#581">Source</a><a href="#method.bitand_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitAndAssign.html#tymethod.bitand_assign" class="fn">bitand_assign</a>(&mut self, rhs: <a class="primitive" href="../primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock">Performs the <code>&=</code> operation. <a href="../ops/trait.BitAndAssign.html#tymethod.bitand_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitAndAssign-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#564-567">Source</a><a href="#impl-BitAndAssign-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitAndAssign.html" title="trait std::ops::BitAndAssign">BitAndAssign</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.bitand_assign" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#570">Source</a><a href="#method.bitand_assign" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitAndAssign.html#tymethod.bitand_assign" class="fn">bitand_assign</a>(&mut self, rhs: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>)</h4></section></summary><div class="docblock">Performs the <code>&=</code> operation. <a href="../ops/trait.BitAndAssign.html#tymethod.bitand_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitOr%3CMask%3CT,+N%3E%3E-for-bool" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#504-507">Source</a><a href="#impl-BitOr%3CMask%3CT,+N%3E%3E-for-bool" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitOr.html" title="trait std::ops::BitOr">BitOr</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>> for <a class="primitive" href="../primitive.bool.html">bool</a><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Output-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#509">Source</a><a href="#associatedtype.Output-2" class="anchor">§</a><h4 class="code-header">type <a href="../ops/trait.BitOr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">The resulting type after applying the <code>|</code> operator.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.bitor-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#511">Source</a><a href="#method.bitor-2" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitOr.html#tymethod.bitor" class="fn">bitor</a>(self, rhs: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">Performs the <code>|</code> operation. <a href="../ops/trait.BitOr.html#tymethod.bitor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitOr%3Cbool%3E-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#492-495">Source</a><a href="#impl-BitOr%3Cbool%3E-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitOr.html" title="trait std::ops::BitOr">BitOr</a><<a class="primitive" href="../primitive.bool.html">bool</a>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Output-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#497">Source</a><a href="#associatedtype.Output-1" class="anchor">§</a><h4 class="code-header">type <a href="../ops/trait.BitOr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">The resulting type after applying the <code>|</code> operator.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.bitor-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#499">Source</a><a href="#method.bitor-1" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitOr.html#tymethod.bitor" class="fn">bitor</a>(self, rhs: <a class="primitive" href="../primitive.bool.html">bool</a>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">Performs the <code>|</code> operation. <a href="../ops/trait.BitOr.html#tymethod.bitor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitOr-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#480-483">Source</a><a href="#impl-BitOr-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitOr.html" title="trait std::ops::BitOr">BitOr</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#485">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="../ops/trait.BitOr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">The resulting type after applying the <code>|</code> operator.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.bitor" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#487">Source</a><a href="#method.bitor" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitOr.html#tymethod.bitor" class="fn">bitor</a>(self, rhs: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">Performs the <code>|</code> operation. <a href="../ops/trait.BitOr.html#tymethod.bitor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitOrAssign%3Cbool%3E-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#597-600">Source</a><a href="#impl-BitOrAssign%3Cbool%3E-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitOrAssign.html" title="trait std::ops::BitOrAssign">BitOrAssign</a><<a class="primitive" href="../primitive.bool.html">bool</a>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.bitor_assign-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#603">Source</a><a href="#method.bitor_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitOrAssign.html#tymethod.bitor_assign" class="fn">bitor_assign</a>(&mut self, rhs: <a class="primitive" href="../primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock">Performs the <code>|=</code> operation. <a href="../ops/trait.BitOrAssign.html#tymethod.bitor_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitOrAssign-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#586-589">Source</a><a href="#impl-BitOrAssign-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitOrAssign.html" title="trait std::ops::BitOrAssign">BitOrAssign</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.bitor_assign" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#592">Source</a><a href="#method.bitor_assign" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitOrAssign.html#tymethod.bitor_assign" class="fn">bitor_assign</a>(&mut self, rhs: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>)</h4></section></summary><div class="docblock">Performs the <code>|=</code> operation. <a href="../ops/trait.BitOrAssign.html#tymethod.bitor_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitXor%3CMask%3CT,+N%3E%3E-for-bool" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#540-543">Source</a><a href="#impl-BitXor%3CMask%3CT,+N%3E%3E-for-bool" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitXor.html" title="trait std::ops::BitXor">BitXor</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>> for <a class="primitive" href="../primitive.bool.html">bool</a><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Output-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#545">Source</a><a href="#associatedtype.Output-6" class="anchor">§</a><h4 class="code-header">type <a href="../ops/trait.BitXor.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">The resulting type after applying the <code>^</code> operator.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.bitxor-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#547">Source</a><a href="#method.bitxor-2" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitXor.html#tymethod.bitxor" class="fn">bitxor</a>(self, rhs: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>) -> <<a class="primitive" href="../primitive.bool.html">bool</a> as <a class="trait" href="../ops/trait.BitXor.html" title="trait std::ops::BitXor">BitXor</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>>>::<a class="associatedtype" href="../ops/trait.BitXor.html#associatedtype.Output" title="type std::ops::BitXor::Output">Output</a></h4></section></summary><div class="docblock">Performs the <code>^</code> operation. <a href="../ops/trait.BitXor.html#tymethod.bitxor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitXor%3Cbool%3E-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#528-531">Source</a><a href="#impl-BitXor%3Cbool%3E-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitXor.html" title="trait std::ops::BitXor">BitXor</a><<a class="primitive" href="../primitive.bool.html">bool</a>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Output-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#533">Source</a><a href="#associatedtype.Output-5" class="anchor">§</a><h4 class="code-header">type <a href="../ops/trait.BitXor.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">The resulting type after applying the <code>^</code> operator.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.bitxor-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#535">Source</a><a href="#method.bitxor-1" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitXor.html#tymethod.bitxor" class="fn">bitxor</a>(self, rhs: <a class="primitive" href="../primitive.bool.html">bool</a>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N> as <a class="trait" href="../ops/trait.BitXor.html" title="trait std::ops::BitXor">BitXor</a><<a class="primitive" href="../primitive.bool.html">bool</a>>>::<a class="associatedtype" href="../ops/trait.BitXor.html#associatedtype.Output" title="type std::ops::BitXor::Output">Output</a></h4></section></summary><div class="docblock">Performs the <code>^</code> operation. <a href="../ops/trait.BitXor.html#tymethod.bitxor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitXor-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#516-519">Source</a><a href="#impl-BitXor-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitXor.html" title="trait std::ops::BitXor">BitXor</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Output-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#521">Source</a><a href="#associatedtype.Output-4" class="anchor">§</a><h4 class="code-header">type <a href="../ops/trait.BitXor.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">The resulting type after applying the <code>^</code> operator.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.bitxor" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#523">Source</a><a href="#method.bitxor" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitXor.html#tymethod.bitxor" class="fn">bitxor</a>(self, rhs: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N> as <a class="trait" href="../ops/trait.BitXor.html" title="trait std::ops::BitXor">BitXor</a>>::<a class="associatedtype" href="../ops/trait.BitXor.html#associatedtype.Output" title="type std::ops::BitXor::Output">Output</a></h4></section></summary><div class="docblock">Performs the <code>^</code> operation. <a href="../ops/trait.BitXor.html#tymethod.bitxor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitXorAssign%3Cbool%3E-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#619-622">Source</a><a href="#impl-BitXorAssign%3Cbool%3E-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitXorAssign.html" title="trait std::ops::BitXorAssign">BitXorAssign</a><<a class="primitive" href="../primitive.bool.html">bool</a>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.bitxor_assign-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#625">Source</a><a href="#method.bitxor_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitXorAssign.html#tymethod.bitxor_assign" class="fn">bitxor_assign</a>(&mut self, rhs: <a class="primitive" href="../primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock">Performs the <code>^=</code> operation. <a href="../ops/trait.BitXorAssign.html#tymethod.bitxor_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-BitXorAssign-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#608-611">Source</a><a href="#impl-BitXorAssign-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.BitXorAssign.html" title="trait std::ops::BitXorAssign">BitXorAssign</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.bitxor_assign" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#614">Source</a><a href="#method.bitxor_assign" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.BitXorAssign.html#tymethod.bitxor_assign" class="fn">bitxor_assign</a>(&mut self, rhs: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>)</h4></section></summary><div class="docblock">Performs the <code>^=</code> operation. <a href="../ops/trait.BitXorAssign.html#tymethod.bitxor_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-Clone-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#124-127">Source</a><a href="#impl-Clone-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../clone/trait.Clone.html" title="trait std::clone::Clone">Clone</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#130">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="../clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">Returns a duplicate of the value. <a href="../clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open=""><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="../../src/core/clone.rs.html#245-247">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="../clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class="docblock">Performs copy-assignment from <code>source</code>. <a href="../clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-Debug-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#431-434">Source</a><a href="#impl-Debug-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../fmt/trait.Debug.html" title="trait std::fmt::Debug">Debug</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a> + <a class="trait" href="../fmt/trait.Debug.html" title="trait std::fmt::Debug">Debug</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#437">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="../fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="../fmt/struct.Formatter.html" title="struct std::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="../result/enum.Result.html" title="enum std::result::Result">Result</a><<a class="primitive" href="../primitive.unit.html">()</a>, <a class="struct" href="../fmt/struct.Error.html" title="struct std::fmt::Error">Error</a>></h4></section></summary><div class="docblock">Formats the value using the given formatter. <a href="../fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-Default-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#398-401">Source</a><a href="#impl-Default-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../default/trait.Default.html" title="trait std::default::Default">Default</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#404">Source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="../default/trait.Default.html#tymethod.default" class="fn">default</a>() -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">Returns the “default value” for a type. <a href="../default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3C%5Bbool;+N%5D%3E-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#376-379">Source</a><a href="#impl-From%3C%5Bbool;+N%5D%3E-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><[<a class="primitive" href="../primitive.bool.html">bool</a>; <a class="primitive" href="../primitive.array.html">N</a>]> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#382">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(array: [<a class="primitive" href="../primitive.bool.html">bool</a>; <a class="primitive" href="../primitive.array.html">N</a>]) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3CT,+N%3E%3E-for-%5Bbool;+N%5D" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#387-390">Source</a><a href="#impl-From%3CMask%3CT,+N%3E%3E-for-%5Bbool;+N%5D" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>> for [<a class="primitive" href="../primitive.bool.html">bool</a>; <a class="primitive" href="../primitive.array.html">N</a>]<div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#393">Source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(vector: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>) -> [<a class="primitive" href="../primitive.bool.html">bool</a>; <a class="primitive" href="../primitive.array.html">N</a>]</h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci16,+N%3E%3E-for-Mask%3Ci32,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#646">Source</a><a href="#impl-From%3CMask%3Ci16,+N%3E%3E-for-Mask%3Ci32,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-6" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#646">Source</a><a href="#method.from-6" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci16,+N%3E%3E-for-Mask%3Ci64,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#646">Source</a><a href="#impl-From%3CMask%3Ci16,+N%3E%3E-for-Mask%3Ci64,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-7" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#646">Source</a><a href="#method.from-7" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci16,+N%3E%3E-for-Mask%3Ci8,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#646">Source</a><a href="#impl-From%3CMask%3Ci16,+N%3E%3E-for-Mask%3Ci8,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-9" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#646">Source</a><a href="#method.from-9" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci16,+N%3E%3E-for-Mask%3Cisize,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#646">Source</a><a href="#impl-From%3CMask%3Ci16,+N%3E%3E-for-Mask%3Cisize,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-8" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#646">Source</a><a href="#method.from-8" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci32,+N%3E%3E-for-Mask%3Ci16,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#647">Source</a><a href="#impl-From%3CMask%3Ci32,+N%3E%3E-for-Mask%3Ci16,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-13" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#647">Source</a><a href="#method.from-13" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci32,+N%3E%3E-for-Mask%3Ci64,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#647">Source</a><a href="#impl-From%3CMask%3Ci32,+N%3E%3E-for-Mask%3Ci64,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-10" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#647">Source</a><a href="#method.from-10" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci32,+N%3E%3E-for-Mask%3Ci8,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#647">Source</a><a href="#impl-From%3CMask%3Ci32,+N%3E%3E-for-Mask%3Ci8,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-12" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#647">Source</a><a href="#method.from-12" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci32,+N%3E%3E-for-Mask%3Cisize,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#647">Source</a><a href="#impl-From%3CMask%3Ci32,+N%3E%3E-for-Mask%3Cisize,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-11" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#647">Source</a><a href="#method.from-11" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci64,+N%3E%3E-for-Mask%3Ci16,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#648">Source</a><a href="#impl-From%3CMask%3Ci64,+N%3E%3E-for-Mask%3Ci16,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-16" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#648">Source</a><a href="#method.from-16" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci64,+N%3E%3E-for-Mask%3Ci32,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#648">Source</a><a href="#impl-From%3CMask%3Ci64,+N%3E%3E-for-Mask%3Ci32,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-17" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#648">Source</a><a href="#method.from-17" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci64,+N%3E%3E-for-Mask%3Ci8,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#648">Source</a><a href="#impl-From%3CMask%3Ci64,+N%3E%3E-for-Mask%3Ci8,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-15" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#648">Source</a><a href="#method.from-15" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci64,+N%3E%3E-for-Mask%3Cisize,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#648">Source</a><a href="#impl-From%3CMask%3Ci64,+N%3E%3E-for-Mask%3Cisize,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-14" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#648">Source</a><a href="#method.from-14" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci8,+N%3E%3E-for-Mask%3Ci16,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#645">Source</a><a href="#impl-From%3CMask%3Ci8,+N%3E%3E-for-Mask%3Ci16,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#645">Source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci8,+N%3E%3E-for-Mask%3Ci32,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#645">Source</a><a href="#impl-From%3CMask%3Ci8,+N%3E%3E-for-Mask%3Ci32,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-3" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#645">Source</a><a href="#method.from-3" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci8,+N%3E%3E-for-Mask%3Ci64,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#645">Source</a><a href="#impl-From%3CMask%3Ci8,+N%3E%3E-for-Mask%3Ci64,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-4" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#645">Source</a><a href="#method.from-4" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Ci8,+N%3E%3E-for-Mask%3Cisize,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#645">Source</a><a href="#impl-From%3CMask%3Ci8,+N%3E%3E-for-Mask%3Cisize,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-5" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#645">Source</a><a href="#method.from-5" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Cisize,+N%3E%3E-for-Mask%3Ci16,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#649">Source</a><a href="#impl-From%3CMask%3Cisize,+N%3E%3E-for-Mask%3Ci16,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-19" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#649">Source</a><a href="#method.from-19" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Cisize,+N%3E%3E-for-Mask%3Ci32,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#649">Source</a><a href="#impl-From%3CMask%3Cisize,+N%3E%3E-for-Mask%3Ci32,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-20" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#649">Source</a><a href="#method.from-20" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Cisize,+N%3E%3E-for-Mask%3Ci64,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#649">Source</a><a href="#impl-From%3CMask%3Cisize,+N%3E%3E-for-Mask%3Ci64,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-21" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#649">Source</a><a href="#method.from-21" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-From%3CMask%3Cisize,+N%3E%3E-for-Mask%3Ci8,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#649">Source</a><a href="#impl-From%3CMask%3Cisize,+N%3E%3E-for-Mask%3Ci8,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-18" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#649">Source</a><a href="#method.from-18" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N></h4></section></summary><div class="docblock">Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-Not-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#552-555">Source</a><a href="#impl-Not-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../ops/trait.Not.html" title="trait std::ops::Not">Not</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Output-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#557">Source</a><a href="#associatedtype.Output-3" class="anchor">§</a><h4 class="code-header">type <a href="../ops/trait.Not.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N></h4></section></summary><div class="docblock">The resulting type after applying the <code>!</code> operator.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.not" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#559">Source</a><a href="#method.not" class="anchor">§</a><h4 class="code-header">fn <a href="../ops/trait.Not.html#tymethod.not" class="fn">not</a>(self) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N> as <a class="trait" href="../ops/trait.Not.html" title="trait std::ops::Not">Not</a>>::<a class="associatedtype" href="../ops/trait.Not.html#associatedtype.Output" title="type std::ops::Not::Output">Output</a></h4></section></summary><div class="docblock">Performs the unary <code>!</code> operation. <a href="../ops/trait.Not.html#tymethod.not">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-PartialEq-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#409-412">Source</a><a href="#impl-PartialEq-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../cmp/trait.PartialEq.html" title="trait std::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a> + <a class="trait" href="../cmp/trait.PartialEq.html" title="trait std::cmp::PartialEq">PartialEq</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#415">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="../cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>) -> <a class="primitive" href="../primitive.bool.html">bool</a></h4></section></summary><div class="docblock">Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="../../src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="../cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="../primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="../primitive.bool.html">bool</a></h4></section></summary><div class="docblock">Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-PartialOrd-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#420-423">Source</a><a href="#impl-PartialOrd-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../cmp/trait.PartialOrd.html" title="trait std::cmp::PartialOrd">PartialOrd</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a> + <a class="trait" href="../cmp/trait.PartialOrd.html" title="trait std::cmp::PartialOrd">PartialOrd</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.partial_cmp" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#426">Source</a><a href="#method.partial_cmp" class="anchor">§</a><h4 class="code-header">fn <a href="../cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, other: &<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N>) -> <a class="enum" href="../option/enum.Option.html" title="enum std::option::Option">Option</a><<a class="enum" href="../cmp/enum.Ordering.html" title="enum std::cmp::Ordering">Ordering</a>></h4></section></summary><div class="docblock">This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="../cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open=""><summary><section id="method.lt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="../../src/core/cmp.rs.html#1398">Source</a></span><a href="#method.lt" class="anchor">§</a><h4 class="code-header">fn <a href="../cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="../primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="../primitive.bool.html">bool</a></h4></section></summary><div class="docblock">Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="../cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open=""><summary><section id="method.le" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="../../src/core/cmp.rs.html#1416">Source</a></span><a href="#method.le" class="anchor">§</a><h4 class="code-header">fn <a href="../cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="../primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="../primitive.bool.html">bool</a></h4></section></summary><div class="docblock">Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="../cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open=""><summary><section id="method.gt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="../../src/core/cmp.rs.html#1434">Source</a></span><a href="#method.gt" class="anchor">§</a><h4 class="code-header">fn <a href="../cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="../primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="../primitive.bool.html">bool</a></h4></section></summary><div class="docblock">Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="../cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open=""><summary><section id="method.ge" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="../../src/core/cmp.rs.html#1452">Source</a></span><a href="#method.ge" class="anchor">§</a><h4 class="code-header">fn <a href="../cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="../primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="../primitive.bool.html">bool</a></h4></section></summary><div class="docblock">Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="../cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdOrd-for-Mask%3Ci16,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#impl-SimdOrd-for-Mask%3Ci16,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdOrd.html" title="trait std::simd::cmp::SimdOrd">SimdOrd</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.simd_max-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_max-1" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_max" class="fn">simd_max</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Returns the element-wise maximum with <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_min-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_min-1" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_min" class="fn">simd_min</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Returns the element-wise minimum with <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_clamp-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_clamp-1" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_clamp" class="fn">simd_clamp</a>(self, min: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>, max: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Restrict each element to a certain interval. <a href="cmp/trait.SimdOrd.html#tymethod.simd_clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdOrd-for-Mask%3Ci32,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#impl-SimdOrd-for-Mask%3Ci32,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdOrd.html" title="trait std::simd::cmp::SimdOrd">SimdOrd</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.simd_max-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_max-2" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_max" class="fn">simd_max</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Returns the element-wise maximum with <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_min-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_min-2" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_min" class="fn">simd_min</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Returns the element-wise minimum with <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_clamp-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_clamp-2" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_clamp" class="fn">simd_clamp</a>(self, min: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>, max: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Restrict each element to a certain interval. <a href="cmp/trait.SimdOrd.html#tymethod.simd_clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdOrd-for-Mask%3Ci64,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#impl-SimdOrd-for-Mask%3Ci64,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdOrd.html" title="trait std::simd::cmp::SimdOrd">SimdOrd</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.simd_max-3" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_max-3" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_max" class="fn">simd_max</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Returns the element-wise maximum with <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_min-3" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_min-3" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_min" class="fn">simd_min</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Returns the element-wise minimum with <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_clamp-3" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_clamp-3" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_clamp" class="fn">simd_clamp</a>(self, min: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>, max: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Restrict each element to a certain interval. <a href="cmp/trait.SimdOrd.html#tymethod.simd_clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdOrd-for-Mask%3Ci8,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#impl-SimdOrd-for-Mask%3Ci8,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdOrd.html" title="trait std::simd::cmp::SimdOrd">SimdOrd</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.simd_max" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_max" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_max" class="fn">simd_max</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Returns the element-wise maximum with <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_min" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_min" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_min" class="fn">simd_min</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Returns the element-wise minimum with <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_clamp" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_clamp" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_clamp" class="fn">simd_clamp</a>(self, min: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>, max: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Restrict each element to a certain interval. <a href="cmp/trait.SimdOrd.html#tymethod.simd_clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdOrd-for-Mask%3Cisize,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#impl-SimdOrd-for-Mask%3Cisize,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdOrd.html" title="trait std::simd::cmp::SimdOrd">SimdOrd</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.simd_max-4" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_max-4" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_max" class="fn">simd_max</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Returns the element-wise maximum with <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_min-4" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_min-4" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_min" class="fn">simd_min</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Returns the element-wise minimum with <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_clamp-4" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_clamp-4" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdOrd.html#tymethod.simd_clamp" class="fn">simd_clamp</a>(self, min: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>, max: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>) -> <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Restrict each element to a certain interval. <a href="cmp/trait.SimdOrd.html#tymethod.simd_clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdPartialEq-for-Mask%3Ci16,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#impl-SimdPartialEq-for-Mask%3Ci16,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Mask-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#associatedtype.Mask-1" class="anchor">§</a><h4 class="code-header">type <a href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" class="associatedtype">Mask</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">The mask type returned by each comparison.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_eq-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#method.simd_eq-1" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialEq.html#tymethod.simd_eq" class="fn">simd_eq</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is equal to the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_ne-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#method.simd_ne-1" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialEq.html#tymethod.simd_ne" class="fn">simd_ne</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is not equal to the corresponding element in <code>other</code>.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdPartialEq-for-Mask%3Ci32,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#impl-SimdPartialEq-for-Mask%3Ci32,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Mask-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#associatedtype.Mask-2" class="anchor">§</a><h4 class="code-header">type <a href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" class="associatedtype">Mask</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">The mask type returned by each comparison.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_eq-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#method.simd_eq-2" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialEq.html#tymethod.simd_eq" class="fn">simd_eq</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is equal to the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_ne-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#method.simd_ne-2" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialEq.html#tymethod.simd_ne" class="fn">simd_ne</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is not equal to the corresponding element in <code>other</code>.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdPartialEq-for-Mask%3Ci64,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#impl-SimdPartialEq-for-Mask%3Ci64,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Mask-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#associatedtype.Mask-3" class="anchor">§</a><h4 class="code-header">type <a href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" class="associatedtype">Mask</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">The mask type returned by each comparison.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_eq-3" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#method.simd_eq-3" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialEq.html#tymethod.simd_eq" class="fn">simd_eq</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is equal to the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_ne-3" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#method.simd_ne-3" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialEq.html#tymethod.simd_ne" class="fn">simd_ne</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is not equal to the corresponding element in <code>other</code>.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdPartialEq-for-Mask%3Ci8,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#impl-SimdPartialEq-for-Mask%3Ci8,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Mask" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#associatedtype.Mask" class="anchor">§</a><h4 class="code-header">type <a href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" class="associatedtype">Mask</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">The mask type returned by each comparison.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_eq" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#method.simd_eq" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialEq.html#tymethod.simd_eq" class="fn">simd_eq</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is equal to the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_ne" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#method.simd_ne" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialEq.html#tymethod.simd_ne" class="fn">simd_ne</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is not equal to the corresponding element in <code>other</code>.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdPartialEq-for-Mask%3Cisize,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#impl-SimdPartialEq-for-Mask%3Cisize,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Mask-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#associatedtype.Mask-4" class="anchor">§</a><h4 class="code-header">type <a href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" class="associatedtype">Mask</a> = <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">The mask type returned by each comparison.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_eq-4" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#method.simd_eq-4" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialEq.html#tymethod.simd_eq" class="fn">simd_eq</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>,
|
||
) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is equal to the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_ne-4" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/eq.rs.html#76">Source</a><a href="#method.simd_ne-4" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialEq.html#tymethod.simd_ne" class="fn">simd_ne</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>,
|
||
) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is not equal to the corresponding element in <code>other</code>.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdPartialOrd-for-Mask%3Ci16,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#impl-SimdPartialOrd-for-Mask%3Ci16,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdPartialOrd.html" title="trait std::simd::cmp::SimdPartialOrd">SimdPartialOrd</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.simd_lt-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_lt-1" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_lt" class="fn">simd_lt</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is less than the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_le-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_le-1" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_le" class="fn">simd_le</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is less than or equal to the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_gt-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_gt-1" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_gt" class="fn">simd_gt</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is greater than the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_ge-1" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_ge-1" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_ge" class="fn">simd_ge</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i16.html">i16</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is greater than or equal to the corresponding element in <code>other</code>.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdPartialOrd-for-Mask%3Ci32,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#impl-SimdPartialOrd-for-Mask%3Ci32,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdPartialOrd.html" title="trait std::simd::cmp::SimdPartialOrd">SimdPartialOrd</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.simd_lt-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_lt-2" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_lt" class="fn">simd_lt</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is less than the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_le-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_le-2" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_le" class="fn">simd_le</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is less than or equal to the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_gt-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_gt-2" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_gt" class="fn">simd_gt</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is greater than the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_ge-2" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_ge-2" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_ge" class="fn">simd_ge</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i32.html">i32</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is greater than or equal to the corresponding element in <code>other</code>.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdPartialOrd-for-Mask%3Ci64,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#impl-SimdPartialOrd-for-Mask%3Ci64,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdPartialOrd.html" title="trait std::simd::cmp::SimdPartialOrd">SimdPartialOrd</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.simd_lt-3" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_lt-3" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_lt" class="fn">simd_lt</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is less than the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_le-3" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_le-3" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_le" class="fn">simd_le</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is less than or equal to the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_gt-3" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_gt-3" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_gt" class="fn">simd_gt</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is greater than the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_ge-3" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_ge-3" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_ge" class="fn">simd_ge</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i64.html">i64</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is greater than or equal to the corresponding element in <code>other</code>.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdPartialOrd-for-Mask%3Ci8,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#impl-SimdPartialOrd-for-Mask%3Ci8,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdPartialOrd.html" title="trait std::simd::cmp::SimdPartialOrd">SimdPartialOrd</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.simd_lt" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_lt" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_lt" class="fn">simd_lt</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is less than the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_le" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_le" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_le" class="fn">simd_le</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is less than or equal to the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_gt" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_gt" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_gt" class="fn">simd_gt</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is greater than the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_ge" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_ge" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_ge" class="fn">simd_ge</a>(self, other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N>) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.i8.html">i8</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is greater than or equal to the corresponding element in <code>other</code>.</div></details></div></details><details class="toggle implementors-toggle" open=""><summary><section id="impl-SimdPartialOrd-for-Mask%3Cisize,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#impl-SimdPartialOrd-for-Mask%3Cisize,+N%3E" class="anchor">§</a><h3 class="code-header">impl<const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="cmp/trait.SimdPartialOrd.html" title="trait std::simd::cmp::SimdPartialOrd">SimdPartialOrd</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N><div class="where">where
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.simd_lt-4" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_lt-4" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_lt" class="fn">simd_lt</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>,
|
||
) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is less than the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_le-4" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_le-4" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_le" class="fn">simd_le</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>,
|
||
) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is less than or equal to the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_gt-4" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_gt-4" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_gt" class="fn">simd_gt</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>,
|
||
) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is greater than the corresponding element in <code>other</code>.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.simd_ge-4" class="method trait-impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/simd/cmp/ord.rs.html#219">Source</a><a href="#method.simd_ge-4" class="anchor">§</a><h4 class="code-header">fn <a href="cmp/trait.SimdPartialOrd.html#tymethod.simd_ge" class="fn">simd_ge</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N>,
|
||
) -> <<a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><<a class="primitive" href="../primitive.isize.html">isize</a>, N> as <a class="trait" href="cmp/trait.SimdPartialEq.html" title="trait std::simd::cmp::SimdPartialEq">SimdPartialEq</a>>::<a class="associatedtype" href="cmp/trait.SimdPartialEq.html#associatedtype.Mask" title="type std::simd::cmp::SimdPartialEq::Mask">Mask</a></h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>portable_simd</code> <a href="https://github.com/rust-lang/rust/issues/86656">#86656</a>)</span></div></span><div class="docblock">Test if each element is greater than or equal to the corresponding element in <code>other</code>.</div></details></div></details><section id="impl-Copy-for-Mask%3CT,+N%3E" class="impl"><a class="src rightside" href="../../src/core/portable-simd/crates/core_simd/src/masks.rs.html#117-120">Source</a><a href="#impl-Copy-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../marker/trait.Copy.html" title="trait std::marker::Copy">Copy</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="trait.MaskElement.html" title="trait std::simd::MaskElement">MaskElement</a>,
|
||
<a class="struct" href="struct.LaneCount.html" title="struct std::simd::LaneCount">LaneCount</a><N>: <a class="trait" href="trait.SupportedLaneCount.html" title="trait std::simd::SupportedLaneCount">SupportedLaneCount</a>,</div></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Mask%3CT,+N%3E" class="impl"><a href="#impl-Freeze-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../marker/trait.Freeze.html" title="trait std::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="../marker/trait.Freeze.html" title="trait std::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-Mask%3CT,+N%3E" class="impl"><a href="#impl-RefUnwindSafe-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="../panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-Mask%3CT,+N%3E" class="impl"><a href="#impl-Send-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../marker/trait.Send.html" title="trait std::marker::Send">Send</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="../marker/trait.Send.html" title="trait std::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-Mask%3CT,+N%3E" class="impl"><a href="#impl-Sync-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../marker/trait.Sync.html" title="trait std::marker::Sync">Sync</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="../marker/trait.Sync.html" title="trait std::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-Mask%3CT,+N%3E" class="impl"><a href="#impl-Unpin-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../marker/trait.Unpin.html" title="trait std::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="../marker/trait.Unpin.html" title="trait std::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-Mask%3CT,+N%3E" class="impl"><a href="#impl-UnwindSafe-for-Mask%3CT,+N%3E" class="anchor">§</a><h3 class="code-header">impl<T, const N: <a class="primitive" href="../primitive.usize.html">usize</a>> <a class="trait" href="../panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Mask.html" title="struct std::simd::Mask">Mask</a><T, N><div class="where">where
|
||
T: <a class="trait" href="../panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>,</div></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="../../src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../any/trait.Any.html" title="trait std::any::Any">Any</a> for T<div class="where">where
|
||
T: 'static + ?<a class="trait" href="../marker/trait.Sized.html" title="trait std::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="../../src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="../any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="../any/struct.TypeId.html" title="struct std::any::TypeId">TypeId</a></h4></section></summary><div class="docblock">Gets the <code>TypeId</code> of <code>self</code>. <a href="../any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="../../src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../borrow/trait.Borrow.html" title="trait std::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="../marker/trait.Sized.html" title="trait std::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="../../src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="../borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="../primitive.reference.html">&T</a></h4></section></summary><div class="docblock">Immutably borrows from an owned value. <a href="../borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="../../src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../borrow/trait.BorrowMut.html" title="trait std::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="../marker/trait.Sized.html" title="trait std::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="../../src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="../primitive.reference.html">&mut T</a></h4></section></summary><div class="docblock">Mutably borrows from an owned value. <a href="../borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="../../src/core/clone.rs.html#547">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../clone/trait.CloneToUninit.html" title="trait std::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
|
||
T: <a class="trait" href="../clone/trait.Clone.html" title="trait std::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="../../src/core/clone.rs.html#549">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&self, dest: <a class="primitive" href="../primitive.pointer.html">*mut </a><a class="primitive" href="../primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code> <a href="https://github.com/rust-lang/rust/issues/126799">#126799</a>)</span></div></span><div class="docblock">Performs copy-assignment from <code>self</code> to <code>dest</code>. <a href="../clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="../../src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.from-22" class="method trait-impl"><a class="src rightside" href="../../src/core/convert/mod.rs.html#788">Source</a><a href="#method.from-22" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="../../src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../convert/trait.Into.html" title="trait std::convert::Into">Into</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="../convert/trait.From.html" title="trait std::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open=""><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="../../src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||
<p>That is, this conversion is whatever the implementation of
|
||
<code><a href="../convert/trait.From.html" title="trait std::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="../../src/alloc/borrow.rs.html#85-87">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../borrow/trait.ToOwned.html" title="trait std::borrow::ToOwned">ToOwned</a> for T<div class="where">where
|
||
T: <a class="trait" href="../clone/trait.Clone.html" title="trait std::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="../../src/alloc/borrow.rs.html#89">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="../borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class="docblock">The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="../../src/alloc/borrow.rs.html#90">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="../borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class="docblock">Creates owned data from borrowed data, usually by cloning. <a href="../borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open=""><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="../../src/alloc/borrow.rs.html#94">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="../borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="../primitive.reference.html">&mut T</a>)</h4></section></summary><div class="docblock">Uses borrowed data to replace owned data, usually by cloning. <a href="../borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="../../src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../convert/trait.TryFrom.html" title="trait std::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="../convert/trait.Into.html" title="trait std::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="../convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="../convert/enum.Infallible.html" title="enum std::convert::Infallible">Infallible</a></h4></section></summary><div class="docblock">The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="../../src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="../result/enum.Result.html" title="enum std::result::Result">Result</a><T, <T as <a class="trait" href="../convert/trait.TryFrom.html" title="trait std::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="../convert/trait.TryFrom.html#associatedtype.Error" title="type std::convert::TryFrom::Error">Error</a>></h4></section></summary><div class="docblock">Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="../../src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../convert/trait.TryInto.html" title="trait std::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="../convert/trait.TryFrom.html" title="trait std::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open=""><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="../../src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="../convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="../convert/trait.TryFrom.html" title="trait std::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="../convert/trait.TryFrom.html#associatedtype.Error" title="type std::convert::TryFrom::Error">Error</a></h4></section></summary><div class="docblock">The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open=""><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="../../src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="../convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="../result/enum.Result.html" title="enum std::result::Result">Result</a><U, <U as <a class="trait" href="../convert/trait.TryFrom.html" title="trait std::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="../convert/trait.TryFrom.html#associatedtype.Error" title="type std::convert::TryFrom::Error">Error</a>></h4></section></summary><div class="docblock">Performs the conversion.</div></details></div></details></div></section><section id="alternative-display" class="content hidden"></section><section id="not-displayed" class="hidden"><section id="search"><div class="main-heading search-results-main-heading"><nav class="sub">
|
||
<form class="search-form loading">
|
||
<span></span> <!-- This empty span is a hacky fix for Safari: see #93184 -->
|
||
<input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search">
|
||
</form>
|
||
</nav><div class="search-switcher"></div></div><div class="search-out"></div></section></section></div></main> |