pub struct QueryResults {
pub discrete_value_rules: HashMap<String, DiscreteValueRule>,
pub range_value_rules: HashMap<String, RangeValueRule>,
}Expand description
Abstraction for holding the output of RoadRulebook::rules() and RoadRulebook::find_rules() methods. This struct contains a map of DiscreteValueRules and RangeValueRules. The keys of the map are the ids of the rules. The values of the map are the rules.
Fields§
§discrete_value_rules: HashMap<String, DiscreteValueRule>§range_value_rules: HashMap<String, RangeValueRule>Auto Trait Implementations§
impl Freeze for QueryResults
impl RefUnwindSafe for QueryResults
impl !Send for QueryResults
impl !Sync for QueryResults
impl Unpin for QueryResults
impl UnsafeUnpin for QueryResults
impl UnwindSafe for QueryResults
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