pub struct EnumNode {
pub name: String,
pub meta: NodeMeta,
pub access: AccessMode,
pub pvalue: Option<String>,
pub entries: Vec<EnumEntryDecl>,
pub default: Option<String>,
pub selected: Vec<String>,
pub providers: Vec<String>,
pub value: Option<i64>,
pub predicates: PredicateRefs,
/* private fields */
}Expand description
Enumeration feature metadata and mapping tables.
Fields§
§name: StringUnique feature name.
meta: NodeMetaShared metadata (visibility, description, tooltip, etc.).
access: AccessModeDeclared access rights.
pvalue: Option<String>Node providing the integer value (delegates register read/write).
entries: Vec<EnumEntryDecl>The entries, in document order.
default: Option<String>The entry selected when nothing else says.
selected: Vec<String><pSelected>: the features this enumeration selects.
providers: Vec<String>The nodes the entries’ <pValue>s read.
value: Option<i64><Value>: the start value of an enumeration with no register behind
it — a selector the host keeps, as AVT’s GainSelector is.
predicates: PredicateRefsPredicate refs gating implementation / availability / lock state.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for EnumNode
impl !RefUnwindSafe for EnumNode
impl !Sync for EnumNode
impl Send for EnumNode
impl Unpin for EnumNode
impl UnsafeUnpin for EnumNode
impl UnwindSafe for EnumNode
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