pub enum Tag {
Recommended,
OnlyJS,
OnlyTS,
}
Expand description
A tag describing properties present on a rule, such as if the rule is recommended or if it runs on only some languages.
Variants§
Recommended
This rule runs by default if no configuration is provided.
OnlyJS
This rule should only run on JavaScript files.
OnlyTS
This rule should only run on TypeScript files.
Trait Implementations§
impl Copy for Tag
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more