pub struct LintIssue {
pub code: &'static str,
pub message: String,
pub line: usize,
pub column: usize,
pub suggestion: Option<String>,
}Expand description
Represents a performance issue found by the linter
Fields§
§code: &'static strThe lint code (e.g., “cosmic_perf_001”)
message: StringHuman-readable message describing the issue
line: usizeLine number where the issue was found
column: usizeColumn number
suggestion: Option<String>Suggested fix (if available)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LintIssue
impl RefUnwindSafe for LintIssue
impl Send for LintIssue
impl Sync for LintIssue
impl Unpin for LintIssue
impl UnsafeUnpin for LintIssue
impl UnwindSafe for LintIssue
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