pub struct BooleanNode {
pub name: String,
pub meta: NodeMeta,
pub addressing: Option<Addressing>,
pub len: u32,
pub access: AccessMode,
pub bitfield: Option<BitField>,
pub selectors: Vec<String>,
pub selected_if: Vec<(String, Vec<String>)>,
pub pvalue: Option<String>,
pub on_value: Option<i64>,
pub off_value: Option<i64>,
pub predicates: PredicateRefs,
/* private fields */
}Expand description
Boolean feature metadata.
Fields§
§name: String§meta: NodeMetaShared metadata (visibility, description, tooltip, etc.).
addressing: Option<Addressing>Register addressing metadata (absent when delegated via pvalue).
len: u32§access: AccessMode§bitfield: Option<BitField>Optional bitfield (absent for pValue-backed booleans).
selectors: Vec<String>§selected_if: Vec<(String, Vec<String>)>§pvalue: Option<String>Node providing the value (delegates read/write).
on_value: Option<i64>On value for pValue-backed booleans.
off_value: Option<i64>Off value for pValue-backed booleans.
predicates: PredicateRefsPredicate refs gating implementation / availability / lock state.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for BooleanNode
impl !RefUnwindSafe for BooleanNode
impl Send for BooleanNode
impl !Sync for BooleanNode
impl Unpin for BooleanNode
impl UnwindSafe for BooleanNode
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