.. index:: pair: struct; rgpot::nlist::View .. _doxid-structrgpot_1_1nlist_1_1_view: struct rgpot::nlist::View ========================= .. toctree:: :hidden: Non-owning view of a structure-of-arrays neighbour table. ``shift`` is empty or 3 entries per pair, ``vector`` is empty or 3, ``mask`` is one byte per pair (0xff for a pair list; bits 0..3 for a cluster of four). The spans are invalidated by the next rebuild of the table that owns them. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct View { // fields std::span :target:`first`; std::span :target:`second`; std::span :target:`shift`; std::span :target:`vector`; std::span :target:`distance`; std::span :target:`mask`; };