pub enum Node {
Integer(IntegerNode),
Float(FloatNode),
Enum(EnumNode),
Boolean(BooleanNode),
Command(CommandNode),
Category(CategoryNode),
SwissKnife(SkNode),
Converter(ConverterNode),
IntConverter(IntConverterNode),
String(StringNode),
}Expand description
Node kinds supported by the Tier-1 subset.
Variants§
Integer(IntegerNode)
Signed integer feature stored in a fixed-width register block.
Float(FloatNode)
Floating point feature with optional scale/offset conversion.
Enum(EnumNode)
Enumeration feature mapping integers to symbolic names.
Boolean(BooleanNode)
Boolean feature represented as an integer register.
Command(CommandNode)
Command feature triggering a device-side action when written.
Category(CategoryNode)
Category organising related features.
SwissKnife(SkNode)
SwissKnife expression producing a computed value.
Converter(ConverterNode)
Converter transforming raw values to/from float values via formulas.
IntConverter(IntConverterNode)
IntConverter transforming raw values to/from integer values via formulas.
String(StringNode)
StringReg for string-typed register access.
Implementations§
Source§impl Node
impl Node
Sourcepub fn kind_name(&self) -> &'static str
pub fn kind_name(&self) -> &'static str
Return the GenICam node type name (e.g. “Integer”, “Float”, “Enumeration”).
Sourcepub fn access_mode(&self) -> Option<AccessMode>
pub fn access_mode(&self) -> Option<AccessMode>
Return the access mode of the node, if applicable.
Sourcepub fn visibility(&self) -> Visibility
pub fn visibility(&self) -> Visibility
Return the visibility level of this node.
Sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Return the description of this node, if any.
Sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
Return the display name of this node, if any.
Sourcepub fn representation(&self) -> Option<Representation>
pub fn representation(&self) -> Option<Representation>
Return the recommended representation for this node, if any.
Sourcepub fn predicates(&self) -> &PredicateRefs
pub fn predicates(&self) -> &PredicateRefs
Return the predicate references (pIsImplemented, pIsAvailable,
pIsLocked) declared on this node.