#[repr(C)]pub struct CrateId { /* private fields */ }Expand description
This ID uniquely identifies a crate 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 CrateId
impl Ord for CrateId
Source§impl PartialOrd for CrateId
impl PartialOrd for CrateId
impl Copy for CrateId
impl Eq for CrateId
impl StructuralPartialEq for CrateId
Auto Trait Implementations§
impl Freeze for CrateId
impl RefUnwindSafe for CrateId
impl Send for CrateId
impl Sync for CrateId
impl Unpin for CrateId
impl UnwindSafe for CrateId
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