The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
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
@
fmamath
static if
(
hasZeroShiftFieldMember!Field
)
auto
assumeFieldsHaveZeroShift
(
)
if
(
__traits(
isUnsigned
,
I
)
)
Meta
Source
See Implementation
mir
ndslice
field
BitpackField
functions
assumeFieldsHaveZeroShift
lightConst
lightImmutable
variables
_field
Defined if Field has member assumeFieldsHaveZeroShift.