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 RuleState for DiscreteValue
impl RuleState for DiscreteValue
Source§fn get_rule_state(&self) -> &RuleStateBase
fn get_rule_state(&self) -> &RuleStateBase
Returns the base state of the rule.
To be implemented by the concrete rule state.
Returns a map of related unique ids. The key is the group name and the value is a vector of unique ids.
Returns a map of related unique ids. The key is the group name and the value is a vector of unique ids.
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