|
32 | 32 | </div></details><details class="toggle method-toggle" open><summary><section id="method.intersects" class="method"><a class="src rightside" href="../../../../src/naga/back/glsl/features.rs.html#10-59">Source</a><h4 class="code-header">pub const fn <a href="#method.intersects" class="fn">intersects</a>(&self, other: Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Whether any set bits in a source flags value are also set in a target flags value.</p>
|
33 | 33 | </div></details><details class="toggle method-toggle" open><summary><section id="method.contains" class="method"><a class="src rightside" href="../../../../src/naga/back/glsl/features.rs.html#10-59">Source</a><h4 class="code-header">pub const fn <a href="#method.contains" class="fn">contains</a>(&self, other: Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Whether all set bits in a source flags value are also set in a target flags value.</p>
|
34 | 34 | </div></details><details class="toggle method-toggle" open><summary><section id="method.insert" class="method"><a class="src rightside" href="../../../../src/naga/back/glsl/features.rs.html#10-59">Source</a><h4 class="code-header">pub fn <a href="#method.insert" class="fn">insert</a>(&mut self, other: Self)</h4></section></summary><div class="docblock"><p>The bitwise or (<code>|</code>) of the bits in two flags values.</p>
|
35 |
| -</div></details><details class="toggle method-toggle" open><summary><section id="method.remove" class="method"><a class="src rightside" href="../../../../src/naga/back/glsl/features.rs.html#10-59">Source</a><h4 class="code-header">pub fn <a href="#method.remove" class="fn">remove</a>(&mut self, other: Self)</h4></section></summary><div class="docblock"><p>The intersection of a source flags value with the complement of a target flags value (<code>&!</code>).</p> |
| 35 | +</div></details><details class="toggle method-toggle" open><summary><section id="method.remove" class="method"><a class="src rightside" href="../../../../src/naga/back/glsl/features.rs.html#10-59">Source</a><h4 class="code-header">pub fn <a href="#method.remove" class="fn">remove</a>(&mut self, other: Self)</h4></section></summary><div class="docblock"><p>The intersection of a source flags value with the complement of a target flags |
| 36 | +value (<code>&!</code>).</p> |
36 | 37 | <p>This method is not equivalent to <code>self & !other</code> when <code>other</code> has unknown bits set.
|
37 | 38 | <code>remove</code> won’t truncate <code>other</code>, but the <code>!</code> operator will.</p>
|
38 | 39 | </div></details><details class="toggle method-toggle" open><summary><section id="method.toggle" class="method"><a class="src rightside" href="../../../../src/naga/back/glsl/features.rs.html#10-59">Source</a><h4 class="code-header">pub fn <a href="#method.toggle" class="fn">toggle</a>(&mut self, other: Self)</h4></section></summary><div class="docblock"><p>The bitwise exclusive-or (<code>^</code>) of the bits in two flags values.</p>
|
39 | 40 | </div></details><details class="toggle method-toggle" open><summary><section id="method.set" class="method"><a class="src rightside" href="../../../../src/naga/back/glsl/features.rs.html#10-59">Source</a><h4 class="code-header">pub fn <a href="#method.set" class="fn">set</a>(&mut self, other: Self, value: <a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Call <code>insert</code> when <code>value</code> is <code>true</code> or <code>remove</code> when <code>value</code> is <code>false</code>.</p>
|
40 | 41 | </div></details><details class="toggle method-toggle" open><summary><section id="method.intersection" class="method"><a class="src rightside" href="../../../../src/naga/back/glsl/features.rs.html#10-59">Source</a><h4 class="code-header">pub const fn <a href="#method.intersection" class="fn">intersection</a>(self, other: Self) -> Self</h4></section></summary><div class="docblock"><p>The bitwise and (<code>&</code>) of the bits in two flags values.</p>
|
41 | 42 | </div></details><details class="toggle method-toggle" open><summary><section id="method.union" class="method"><a class="src rightside" href="../../../../src/naga/back/glsl/features.rs.html#10-59">Source</a><h4 class="code-header">pub const fn <a href="#method.union" class="fn">union</a>(self, other: Self) -> Self</h4></section></summary><div class="docblock"><p>The bitwise or (<code>|</code>) of the bits in two flags values.</p>
|
42 |
| -</div></details><details class="toggle method-toggle" open><summary><section id="method.difference" class="method"><a class="src rightside" href="../../../../src/naga/back/glsl/features.rs.html#10-59">Source</a><h4 class="code-header">pub const fn <a href="#method.difference" class="fn">difference</a>(self, other: Self) -> Self</h4></section></summary><div class="docblock"><p>The intersection of a source flags value with the complement of a target flags value (<code>&!</code>).</p> |
| 43 | +</div></details><details class="toggle method-toggle" open><summary><section id="method.difference" class="method"><a class="src rightside" href="../../../../src/naga/back/glsl/features.rs.html#10-59">Source</a><h4 class="code-header">pub const fn <a href="#method.difference" class="fn">difference</a>(self, other: Self) -> Self</h4></section></summary><div class="docblock"><p>The intersection of a source flags value with the complement of a target flags |
| 44 | +value (<code>&!</code>).</p> |
43 | 45 | <p>This method is not equivalent to <code>self & !other</code> when <code>other</code> has unknown bits set.
|
44 | 46 | <code>difference</code> won’t truncate <code>other</code>, but the <code>!</code> operator will.</p>
|
45 | 47 | </div></details><details class="toggle method-toggle" open><summary><section id="method.symmetric_difference" class="method"><a class="src rightside" href="../../../../src/naga/back/glsl/features.rs.html#10-59">Source</a><h4 class="code-header">pub const fn <a href="#method.symmetric_difference" class="fn">symmetric_difference</a>(self, other: Self) -> Self</h4></section></summary><div class="docblock"><p>The bitwise exclusive-or (<code>^</code>) of the bits in two flags values.</p>
|
|
0 commit comments