#[non_exhaustive]pub struct RegisterDecl {
pub name: String,
pub meta: NodeMeta,
pub addressing: Addressing,
pub access: AccessMode,
pub predicates: PredicateRefs,
pub invalidators: Vec<String>,
}Expand description
Declaration of a <Register> node — raw byte-array register access.
The base register type: an address, a byte count, and no interpretation of
the bytes at all. <StringReg> is this plus UTF-8/NUL decoding.
The length lives in Addressing rather than in a field here, because a
bare <pIndex> strides by the register’s length and address resolution
already reads it from there — a <Length>, or the node a <pLength>
names (Addressing::length_node).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringFeature name exposed to clients.
meta: NodeMetaShared metadata.
addressing: AddressingAddressing metadata for the register block, including its byte length.
access: AccessModeAccess privileges. An absent <AccessMode> means read-only.
predicates: PredicateRefsPredicate refs gating implementation / availability / lock state.
invalidators: Vec<String>GenICam <pInvalidator> references, in declaration order: each names a
node whose change makes this node’s cached value stale.