pub struct CSharpDeadCodeRegion {
pub start_line: usize,
pub end_line: usize,
}Expand description
A C# preprocessor-dead region: an #if/#elif/#else branch proven
unreachable by a compile-time-constant condition or locally-provable
symbol definedness. See the module documentation for exactly what is and
isn’t recognized.
Fields§
§start_line: usize1-based, inclusive first line of the dead region.
end_line: usize1-based, inclusive last line of the dead region.
Trait Implementations§
Source§impl Clone for CSharpDeadCodeRegion
impl Clone for CSharpDeadCodeRegion
impl Copy for CSharpDeadCodeRegion
Source§impl Debug for CSharpDeadCodeRegion
impl Debug for CSharpDeadCodeRegion
impl Eq for CSharpDeadCodeRegion
Source§impl PartialEq for CSharpDeadCodeRegion
impl PartialEq for CSharpDeadCodeRegion
impl StructuralPartialEq for CSharpDeadCodeRegion
Auto Trait Implementations§
impl Forget for CSharpDeadCodeRegion
impl Freeze for CSharpDeadCodeRegion
impl Move for CSharpDeadCodeRegion
impl RefUnwindSafe for CSharpDeadCodeRegion
impl Send for CSharpDeadCodeRegion
impl Sync for CSharpDeadCodeRegion
impl Unpin for CSharpDeadCodeRegion
impl UnsafeUnpin for CSharpDeadCodeRegion
impl UnwindSafe for CSharpDeadCodeRegion
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