pub struct DiscreteValue { /* private fields */ }
Expand description
Defines a discrete value for a DiscreteValueRule. It extends the RuleStateBase with the value of the discrete value.
Implementations§
Trait Implementations§
Source§impl Debug for DiscreteValue
impl Debug for DiscreteValue
Source§impl RuleState for DiscreteValue
impl RuleState for DiscreteValue
Source§fn get_rule_state(&self) -> &RuleStateBase
fn get_rule_state(&self) -> &RuleStateBase
Gets the underlying
RuleStateBase
that contains common state properties. Read moreReturns a map of related rules ids. The key is the group name and the value is a vector of rule ids. Read more
Returns a map of related unique ids. The key is the group name and the value is a vector of unique ids. Read more
Auto Trait Implementations§
impl Freeze for DiscreteValue
impl RefUnwindSafe for DiscreteValue
impl Send for DiscreteValue
impl Sync for DiscreteValue
impl Unpin for DiscreteValue
impl UnwindSafe for DiscreteValue
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