pub struct RuleLibrary {
pub core_tech_map: FxHashMap<String, ParsedTechRule>,
pub category_rules: FxHashMap<u32, CategoryRule>,
}Expand description
核心规则库结构体,业务层统一标准结构
Fields§
§core_tech_map: FxHashMap<String, ParsedTechRule>核心技术规则(技术名称 → ParsedTechRule)
category_rules: FxHashMap<u32, CategoryRule>分类规则(ID → 分类信息)
Trait Implementations§
Source§impl Clone for RuleLibrary
impl Clone for RuleLibrary
Source§fn clone(&self) -> RuleLibrary
fn clone(&self) -> RuleLibrary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuleLibrary
impl Debug for RuleLibrary
Source§impl Default for RuleLibrary
impl Default for RuleLibrary
Source§fn default() -> RuleLibrary
fn default() -> RuleLibrary
Returns the “default value” for a type. Read more
Source§impl PartialEq for RuleLibrary
impl PartialEq for RuleLibrary
impl StructuralPartialEq for RuleLibrary
Auto Trait Implementations§
impl Freeze for RuleLibrary
impl RefUnwindSafe for RuleLibrary
impl Send for RuleLibrary
impl Sync for RuleLibrary
impl Unpin for RuleLibrary
impl UnsafeUnpin for RuleLibrary
impl UnwindSafe for RuleLibrary
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