pub enum LintCode {
Show 15 variants
NotANode,
NotAFile,
NoDefaultRoot,
EntryPoint,
EntryPointRefused,
GridRowsPerBar,
MissingComment,
MalformedComment,
MultilineComment,
LongCommentBlock,
LongExpressionBody,
TagShape,
LiteralSampleRate,
KeyIsNotAPitch,
WindowInsideRamp,
}Expand description
Every shape lint reports. A caller dispatches on the tag, so the tag is the contract and
the variant is how this workspace spells it.
Variants§
NotANode
NotAFile
NoDefaultRoot
EntryPoint
EntryPointRefused
GridRowsPerBar
MissingComment
MalformedComment
MultilineComment
LongCommentBlock
LongExpressionBody
TagShape
LiteralSampleRate
KeyIsNotAPitch
WindowInsideRamp
Implementations§
Trait Implementations§
impl Copy for LintCode
impl Eq for LintCode
impl StructuralPartialEq for LintCode
Auto Trait Implementations§
impl Freeze for LintCode
impl RefUnwindSafe for LintCode
impl Send for LintCode
impl Sync for LintCode
impl Unpin for LintCode
impl UnsafeUnpin for LintCode
impl UnwindSafe for LintCode
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