pub trait Modifier: Sync + Send {
// Required methods
fn modifier_pattern(&self) -> &ModifierPattern;
fn modifier_pattern_regex(&self) -> &Regex;
// Provided methods
fn identifier(&self) -> &ModifierIdentifier { ... }
fn incompatible_modifiers(&self) -> &ModifiersBucket { ... }
}
Expand description
Modifier
is the component to identify a NMD modifier, which will be replaced using particular rule indicated by Codex