-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea2f2e0
commit 75fb899
Showing
9 changed files
with
740 additions
and
137 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Marker trait for types that may be used as SIMD mask elements."><title>MaskElement in core_simd::simd - Rust</title><script> if (window.location.protocol !== "file:") document.write(`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2">`)</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-e935ef01ae1c1829.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="core_simd" data-themes="" data-resource-suffix="" data-rustdoc-version="1.78.0-nightly (3cbb93223 2024-03-13)" data-channel="nightly" data-search-js="search-dd67cee4cfa65049.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-4c98445ec4002617.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-12cf3b4f4f9dc36d.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-04d5337699b92874.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../core_simd/index.html">core_simd</a><span class="version">0.1.0</span></h2></div><h2 class="location"><a href="#">MaskElement</a></h2><div class="sidebar-elems"><section><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-MaskElement-for-i16">i16</a></li><li><a href="#impl-MaskElement-for-i32">i32</a></li><li><a href="#impl-MaskElement-for-i64">i64</a></li><li><a href="#impl-MaskElement-for-i8">i8</a></li><li><a href="#impl-MaskElement-for-isize">isize</a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In core_simd::simd</a></h2></div></nav><div class="sidebar-resizer"></div> | ||
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../core_simd/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../index.html">core_simd</a>::<wbr><a href="index.html">simd</a>::<wbr><a class="trait" href="#">MaskElement</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/core_simd/masks.rs.html#51">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub unsafe trait MaskElement: <a class="trait" href="trait.SimdElement.html" title="trait core_simd::simd::SimdElement">SimdElement</a><Mask = Self> + <a class="trait" href="trait.SimdCast.html" title="trait core_simd::simd::SimdCast">SimdCast</a> + Sealed { }</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>)</span></div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Marker trait for types that may be used as SIMD mask elements.</p> | ||
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../core_simd/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../index.html">core_simd</a>::<wbr><a href="index.html">simd</a>::<wbr><a class="trait" href="#">MaskElement</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/core_simd/masks.rs.html#52">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub unsafe trait MaskElement: <a class="trait" href="trait.SimdElement.html" title="trait core_simd::simd::SimdElement">SimdElement</a><Mask = Self> + <a class="trait" href="trait.SimdCast.html" title="trait core_simd::simd::SimdCast">SimdCast</a> + Sealed { }</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>)</span></div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Marker trait for types that may be used as SIMD mask elements.</p> | ||
<h2 id="safety"><a class="doc-anchor" href="#safety">§</a>Safety</h2> | ||
<p>Type must be a signed integer.</p> | ||
</div></details><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><section id="impl-MaskElement-for-i8" class="impl"><a class="src rightside" href="../../src/core_simd/masks.rs.html#92">source</a><a href="#impl-MaskElement-for-i8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MaskElement.html" title="trait core_simd::simd::MaskElement">MaskElement</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.i8.html">i8</a></h3></section><section id="impl-MaskElement-for-i16" class="impl"><a class="src rightside" href="../../src/core_simd/masks.rs.html#93">source</a><a href="#impl-MaskElement-for-i16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MaskElement.html" title="trait core_simd::simd::MaskElement">MaskElement</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.i16.html">i16</a></h3></section><section id="impl-MaskElement-for-i32" class="impl"><a class="src rightside" href="../../src/core_simd/masks.rs.html#94">source</a><a href="#impl-MaskElement-for-i32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MaskElement.html" title="trait core_simd::simd::MaskElement">MaskElement</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.i32.html">i32</a></h3></section><section id="impl-MaskElement-for-i64" class="impl"><a class="src rightside" href="../../src/core_simd/masks.rs.html#95">source</a><a href="#impl-MaskElement-for-i64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MaskElement.html" title="trait core_simd::simd::MaskElement">MaskElement</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.i64.html">i64</a></h3></section><section id="impl-MaskElement-for-isize" class="impl"><a class="src rightside" href="../../src/core_simd/masks.rs.html#96">source</a><a href="#impl-MaskElement-for-isize" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MaskElement.html" title="trait core_simd::simd::MaskElement">MaskElement</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.isize.html">isize</a></h3></section><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/core_simd/core_simd/masks/trait.MaskElement.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html> | ||
</div></details><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><section id="impl-MaskElement-for-i8" class="impl"><a class="src rightside" href="../../src/core_simd/masks.rs.html#98">source</a><a href="#impl-MaskElement-for-i8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MaskElement.html" title="trait core_simd::simd::MaskElement">MaskElement</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.i8.html">i8</a></h3></section><section id="impl-MaskElement-for-i16" class="impl"><a class="src rightside" href="../../src/core_simd/masks.rs.html#99">source</a><a href="#impl-MaskElement-for-i16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MaskElement.html" title="trait core_simd::simd::MaskElement">MaskElement</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.i16.html">i16</a></h3></section><section id="impl-MaskElement-for-i32" class="impl"><a class="src rightside" href="../../src/core_simd/masks.rs.html#100">source</a><a href="#impl-MaskElement-for-i32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MaskElement.html" title="trait core_simd::simd::MaskElement">MaskElement</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.i32.html">i32</a></h3></section><section id="impl-MaskElement-for-i64" class="impl"><a class="src rightside" href="../../src/core_simd/masks.rs.html#101">source</a><a href="#impl-MaskElement-for-i64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MaskElement.html" title="trait core_simd::simd::MaskElement">MaskElement</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.i64.html">i64</a></h3></section><section id="impl-MaskElement-for-isize" class="impl"><a class="src rightside" href="../../src/core_simd/masks.rs.html#102">source</a><a href="#impl-MaskElement-for-isize" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MaskElement.html" title="trait core_simd::simd::MaskElement">MaskElement</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.isize.html">isize</a></h3></section><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/core_simd/core_simd/masks/trait.MaskElement.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html> |
Oops, something went wrong.