[−][src]Struct libslide::evaluator_rules::registry::RuleSet
Set of unbuilt rules.
Fields
rules: HashMap<RuleName, UnbuiltRule>
custom_rules: Vec<UnbuiltRule>
Implementations
impl RuleSet
[src]
pub fn build(&self) -> Result<Vec<Rule>, BuildRuleErrors>
[src]
Creates a list of Rules
s from the unbuilt rule set.
pub fn remove(&mut self, rule: &RuleName)
[src]
Remove a named rule from the rule set.
fn insert_custom<T: Into<UnbuiltRule>>(&mut self, rule: T)
[src]
Insert a custom unbuilt rule into the rule set.
fn get_bootstrapping_rules() -> Vec<Rule>
[src]
Retrieves a set of rules to be used in bootstrapping other rules.
fn get_boostrap_blacklist() -> HashSet<Option<RuleName>>
[src]
Retrieves a set of rules to be excluded from being bootstrapped.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RuleSet
impl Send for RuleSet
impl Sync for RuleSet
impl Unpin for RuleSet
impl UnwindSafe for RuleSet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,