Trait rslint_core::Inferable[][src]

pub trait Inferable: CstRule + Serialize + Deserialize {
    fn infer(&mut self, nodes: &[SyntaxNode]);
}
Expand description

A trait describing rules for which their configuration can be automatically deduced (inferred) using parsed syntax trees

Required methods

Infer the options for the rule from multiple nodes (which may be from different trees) and change them

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Serialize this value into the given Serde serializer. Read more

Serialize this value into the given Serde serializer. Read more

Serialize this value into the given Serde serializer. Read more

Implementors