Trait Modifier

Source
pub trait Modifier:
    Debug
    + Sync
    + Send {
    // Required methods
    fn modifier_pattern(&self) -> &ModifierPattern;
    fn modifier_pattern_regex(&self) -> &Regex;

    // Provided method
    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

Required Methods§

Provided Methods§

Trait Implementations§

Source§

impl Clone for Box<dyn Modifier>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for dyn Modifier

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Implementors§