pub struct CommandNode {
pub name: String,
pub meta: NodeMeta,
pub address: Option<u64>,
pub len: u32,
pub pvalue: Option<String>,
pub command_value: CommandValueSrc,
pub predicates: PredicateRefs,
}Expand description
Command feature metadata.
Fields§
§name: StringUnique feature name.
meta: NodeMetaShared metadata (visibility, description, tooltip, etc.).
address: Option<u64>Fixed register address (absent when delegated via pvalue).
len: u32Register length in bytes.
pvalue: Option<String>Node providing the command register.
command_value: CommandValueSrcThe value executing the command writes: <CommandValue>, or the
node <pCommandValue> names, read when the command executes.
predicates: PredicateRefsPredicate refs gating implementation / availability / lock state.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandNode
impl RefUnwindSafe for CommandNode
impl Send for CommandNode
impl Sync for CommandNode
impl Unpin for CommandNode
impl UnsafeUnpin for CommandNode
impl UnwindSafe for CommandNode
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