pub struct BooleanNode {
pub name: String,
pub meta: NodeMeta,
pub len: u32,
pub access: AccessMode,
pub bitfield: Option<BitField>,
pub pvalue: Option<String>,
pub on_value: Option<i64>,
pub off_value: Option<i64>,
pub value: Option<i64>,
pub predicates: PredicateRefs,
/* private fields */
}Expand description
Boolean feature metadata.
Fields§
§name: StringUnique feature name.
meta: NodeMetaShared metadata (visibility, description, tooltip, etc.).
len: u32Register length in bytes.
access: AccessModeDeclared access rights.
bitfield: Option<BitField>Optional bitfield (absent for pValue-backed booleans).
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.
value: Option<i64><Value>: the start value of a boolean with no register behind it,
compared with on_value — a variable the host sets, as AVT’s
TLParamsLocked is.
predicates: PredicateRefsPredicate refs gating implementation / availability / lock state.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for BooleanNode
impl !RefUnwindSafe for BooleanNode
impl !Sync for BooleanNode
impl Send for BooleanNode
impl Unpin for BooleanNode
impl UnsafeUnpin 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