#[repr(C)]pub struct StmtId { /* private fields */ }
Expand description
This ID uniquely identifies a statement during linting.
Stability notice:
- The ID is not stable between different sessions.
- IDs should never be stored by lint crates, as drivers might change
IDs between different
check_*
function calls. - The layout and size of this type might change. The ID will continue to provide the current trait implementations.
Trait Implementations§
Source§impl Ord for StmtId
impl Ord for StmtId
Source§impl PartialOrd for StmtId
impl PartialOrd for StmtId
impl Copy for StmtId
impl Eq for StmtId
impl StructuralPartialEq for StmtId
Auto Trait Implementations§
impl Freeze for StmtId
impl RefUnwindSafe for StmtId
impl Send for StmtId
impl Sync for StmtId
impl Unpin for StmtId
impl UnwindSafe for StmtId
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