The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
BitField.assumeFieldsHaveZeroShift
mir
ndslice
field
BitField
Defined if
Field
has member
assumeFieldsHaveZeroShift
.
struct
BitField
(Field, 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
BitField
aliases
__map
functions
__vmap
assumeFieldsHaveZeroShift
lightConst
lightImmutable
variables
_field
Defined if Field has member assumeFieldsHaveZeroShift.