Struct rslint_core::DirectiveParser[][src]

pub struct DirectiveParser<'store, 'file> { /* fields omitted */ }

Implementations

Create a new DirectivesParser with a root of a file which will use all default rules to check the rule names of a directive.

Panics

If the given root is not SCRIPT or MODULE.

Create a new DirectivesParser with a root of a file and a store of rules.

Panics

If the given root is not SCRIPT or MODULE.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Unerase this erased pointer. Read more

Whether this implementor has acknowledged the 1.1.0 update to unerase’s documented implementation requirements. Read more

Turn this erasable pointer into an erased pointer. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.