pub fn visible_layers(ug_part: &[u8]) -> Option<Layers>Expand description
The layer settings of an NX file from its UG_PART stream: the one
UGS::LAYER_parameter object – after 00 5f 01 04 01 four masks of
17 32-bit words (selectable, visible, and two copies with an extra
bit), the work layer and the constants 1, 1. Mask 1 holds the visible
layers (a superset of mask 0). None unless exactly one such object is
found, so a misread never hides anything.