numpy / 1.22.0 / reference / generated / numpy.dtype.isalignedstruct.html /

numpy.dtype.isalignedstruct

attribute

dtype. isalignedstruct

Boolean indicating whether the dtype is a struct which maintains field alignment. This flag is sticky, so when combining multiple structs together, it is preserved and produces new dtypes which are also aligned.

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/generated/numpy.dtype.isalignedstruct.html