pub struct HazardLine {
pub line: u32,
pub rule: String,
}Expand description
A source line that matches a Hazard-line rule of the Language plugin. Never holds source text.
Fields§
§line: u32The line number, counted from 1.
rule: StringThe stable identifier of the rule the line matched, listed in hazard-rules.
Trait Implementations§
Source§impl Clone for HazardLine
impl Clone for HazardLine
Source§impl Debug for HazardLine
impl Debug for HazardLine
impl Eq for HazardLine
Source§impl PartialEq for HazardLine
impl PartialEq for HazardLine
impl StructuralPartialEq for HazardLine
Auto Trait Implementations§
impl Forget for HazardLine
impl Freeze for HazardLine
impl Move for HazardLine
impl RefUnwindSafe for HazardLine
impl Send for HazardLinewhere
RawVecInner: Send,
impl Sync for HazardLinewhere
RawVecInner: Sync,
impl Unpin for HazardLine
impl UnsafeUnpin for HazardLine
impl UnwindSafe for HazardLinewhere
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