Jacket
Search the docs
/
API
Tools
Playground
main
SIMD module
← SIMD
Procedures
operator/
min
max
abs
saturating_add
saturating_sub
sqrt
operator&
operator|
operator^
operator~
operator<<
operator>>
eq
ne
lt
le
gt
ge
to_bits
mask_from_bits
any
all
none
count_true
first_true
last_true
select
reduce_add
reduce_min
reduce_max
reduce_and
reduce_or
reduce_xor
shuffle
window
reverse
lookup
convert
bitcast
On this page
See also
std
/
Extensions
/
SIMD
/
mask_from_bits
mask_from_bits
procedure
extension
since 0.31.0
Source
A mask whose lane i is set where bit i of
bits
is.
mask_from_bits
:: ($M:
Type
, bits:
u64
) -> M
Parameters
$M
:
Type
bits
:
u64
Returns
M
See also
ge
to_bits
any
all