pub struct IntegerNode {
pub name: String,
pub addressing: Addressing,
pub len: u32,
pub access: AccessMode,
pub min: i64,
pub max: i64,
pub inc: Option<i64>,
pub unit: Option<String>,
pub bitfield: Option<BitField>,
pub selectors: Vec<String>,
pub selected_if: Vec<(String, Vec<String>)>,
/* private fields */
}Expand description
Integer feature metadata extracted from the XML description.
Fields§
§name: StringUnique feature name.
addressing: AddressingRegister addressing metadata (fixed, selector-based, or indirect).
len: u32Nominal register length in bytes.
access: AccessModeDeclared access rights.
min: i64Minimum permitted user value.
max: i64Maximum permitted user value.
inc: Option<i64>Optional increment step the value must respect.
unit: Option<String>Optional engineering unit such as “us”.
bitfield: Option<BitField>Optional bitfield metadata restricting active bits.
selectors: Vec<String>Selector nodes controlling the visibility of this node.
selected_if: Vec<(String, Vec<String>)>Selector gating rules in the form (selector, allowed values).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for IntegerNode
impl !RefUnwindSafe for IntegerNode
impl Send for IntegerNode
impl !Sync for IntegerNode
impl Unpin for IntegerNode
impl UnwindSafe for IntegerNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more