pub struct FlaggedLine {
pub line: u32,
pub rule: String,
}Expand description
A source line that matches a Flagged-line rule of the Language plugin.
Fields§
§line: u32The line number, counted from 1.
rule: StringThe stable identifier of the rule the line matched, such as else-after-return.
Trait Implementations§
Source§impl Clone for FlaggedLine
impl Clone for FlaggedLine
Source§impl Debug for FlaggedLine
impl Debug for FlaggedLine
impl Eq for FlaggedLine
Source§impl PartialEq for FlaggedLine
impl PartialEq for FlaggedLine
impl StructuralPartialEq for FlaggedLine
Auto Trait Implementations§
impl Forget for FlaggedLine
impl Freeze for FlaggedLine
impl Move for FlaggedLine
impl RefUnwindSafe for FlaggedLine
impl Send for FlaggedLinewhere
RawVecInner: Send,
impl Sync for FlaggedLinewhere
RawVecInner: Sync,
impl Unpin for FlaggedLine
impl UnsafeUnpin for FlaggedLine
impl UnwindSafe for FlaggedLinewhere
RawVecInner: UnwindSafe,
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