Trait yggdrasil_rt::YggdrasilRule
source · pub trait YggdrasilRule: Clone + Debug + Eq + Hash + Ord {
// Provided methods
fn is_ignore(&self) -> bool { ... }
fn is_leaf(&self) -> bool { ... }
fn get_name(&self) -> &'static str { ... }
fn get_enum(&self) -> u32 { ... }
fn get_style(&self) -> &'static str { ... }
}
Expand description
Define rules subject to Yggdrasil
Provided Methods§
sourcefn is_ignore(&self) -> bool
fn is_ignore(&self) -> bool
Nodes ignored in ast, such as spaces, carriage returns, comments, etc.
fn is_leaf(&self) -> bool
Object Safety§
This trait is not object safe.