pub struct RegisterDecl {
pub name: String,
pub meta: NodeMeta,
pub addressing: Addressing,
pub access: AccessMode,
pub port: Option<String>,
pub predicates: PredicateRefs,
}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. When <pLength> lands (GA-09 phase two) it
gains a length that overrides that value after the address resolves.
Fields§
§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.
port: Option<String><pPort> target, verbatim; None when the element was absent.
Anything other than None or "Device" is not routed yet — see GA-12.
predicates: PredicateRefsPredicate refs gating implementation / availability / lock state.
Trait Implementations§
Source§impl Clone for RegisterDecl
impl Clone for RegisterDecl
Source§fn clone(&self) -> RegisterDecl
fn clone(&self) -> RegisterDecl
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more