mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
BitpackField.assumeFieldsHaveZeroShift
mir
ndslice
field
BitpackField
Defined if
Field
has member
assumeFieldsHaveZeroShift
.
struct
BitpackField
(Field, uint pack, I = typeof(cast()Field.init[size_t.init]))
@
property
@
optmath
static if
(
hasZeroShiftFieldMember!Field
)
auto
assumeFieldsHaveZeroShift
(
)
if
(
__traits(
isUnsigned
,
I
)
)
Meta
Source
See Implementation
mir
ndslice
field
BitpackField
aliases
E
functions
assumeFieldsHaveZeroShift
lightConst
lightImmutable
opIndex
opIndexAssign
manifest constants
bits
mask
variables
_field
Defined if Field has member assumeFieldsHaveZeroShift.