pub struct DeadCodeRegion {
pub start_line: usize,
pub end_line: usize,
pub reason: DeadCodeReason,
}Expand description
A preprocessor-dead region: source that a C/C++ preprocessor strips before the compiler ever sees it.
Fields§
§start_line: usize1-based, inclusive first line of the dead region.
end_line: usize1-based, inclusive last line of the dead region.
reason: DeadCodeReasonWhy this region is dead.
Trait Implementations§
Source§impl Clone for DeadCodeRegion
impl Clone for DeadCodeRegion
impl Copy for DeadCodeRegion
Source§impl Debug for DeadCodeRegion
impl Debug for DeadCodeRegion
impl Eq for DeadCodeRegion
Source§impl PartialEq for DeadCodeRegion
impl PartialEq for DeadCodeRegion
impl StructuralPartialEq for DeadCodeRegion
Auto Trait Implementations§
impl Forget for DeadCodeRegion
impl Freeze for DeadCodeRegion
impl Move for DeadCodeRegion
impl RefUnwindSafe for DeadCodeRegion
impl Send for DeadCodeRegion
impl Sync for DeadCodeRegion
impl Unpin for DeadCodeRegion
impl UnsafeUnpin for DeadCodeRegion
impl UnwindSafe for DeadCodeRegion
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