pub struct FileHazards {
pub path: String,
pub hazard_lines: Vec<HazardLine>,
}Expand description
Extra Hazard lines discovered for one file during cross-file scope analysis.
Fields§
§path: StringThe path of the file, relative to the repository root, with forward slashes.
hazard_lines: Vec<HazardLine>Additional Hazard lines for this file, each naming a rule in hazard-rules.
Trait Implementations§
Source§impl Clone for FileHazards
impl Clone for FileHazards
Source§impl Debug for FileHazards
impl Debug for FileHazards
impl Eq for FileHazards
Source§impl PartialEq for FileHazards
impl PartialEq for FileHazards
impl StructuralPartialEq for FileHazards
Auto Trait Implementations§
impl Forget for FileHazards
impl Freeze for FileHazards
impl Move for FileHazards
impl RefUnwindSafe for FileHazards
impl Send for FileHazardswhere
RawVecInner: Send,
impl Sync for FileHazardswhere
RawVecInner: Sync,
impl Unpin for FileHazards
impl UnsafeUnpin for FileHazardswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<HazardLine>: UnsafeUnpin,
impl UnwindSafe for FileHazardswhere
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