BVec2
BVec2
- x : bool
- y : bool
Description
No Documentation 🚧
Functions
Function | Summary |
---|---|
all(_self) | Returns true if all the elements are true, false otherwise. |
any(_self) | Returns true if any of the elements are true, false otherwise. |
assert_receiver_is_total_eq(_self) | No Documentation 🚧 |
bitmask(_self) | Returns a bitmask with the lowest 2 bits set from the elements of `self`. A true element results i |
clone(_self) | No Documentation 🚧 |
eq(_self, other) | No Documentation 🚧 |
from_array(a) | Creates a new vector mask from a bool array. |
new(x, y) | Creates a new vector mask. |
set(_self, index, value) | Sets the element at `index`. Panics if `index` is greater than 1. |
splat(v) | Creates a vector mask with all elements set to `v`. |
test(_self, index) | Tests the value at `index`. Panics if `index` is greater than 1. |