pub enum LintRuleConfigurationOptionName {
test_option,
}
Expand description
An enum with variants representing the literal field names of LintRuleConfiguration
.
The purpose of this enum is to allow lint rules to point to specific options that
they require, as we need some form of identifier for that. We cannot point to the
LintRuleConfiguration
fields directly, so this is the next best thing.
Variants§
test_option
This is a test option
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LintRuleConfigurationOptionName
impl RefUnwindSafe for LintRuleConfigurationOptionName
impl Send for LintRuleConfigurationOptionName
impl Sync for LintRuleConfigurationOptionName
impl Unpin for LintRuleConfigurationOptionName
impl UnwindSafe for LintRuleConfigurationOptionName
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