Struct marker_api::common::FieldId
source · #[repr(C)]pub struct FieldId { /* private fields */ }Expand description
This ID uniquely identifies a field inside a struct 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 FieldId
impl Ord for FieldId
source§impl PartialEq for FieldId
impl PartialEq for FieldId
source§impl PartialOrd for FieldId
impl PartialOrd for FieldId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for FieldId
impl Eq for FieldId
impl StructuralEq for FieldId
impl StructuralPartialEq for FieldId
Auto Trait Implementations§
impl RefUnwindSafe for FieldId
impl Send for FieldId
impl Sync for FieldId
impl Unpin for FieldId
impl UnwindSafe for FieldId
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