pub struct IndexedImpl {
pub id: GlobalDefId,
pub file: FileId,
pub target: ImplTargetKey,
pub trait_def: GlobalDefId,
pub is_negative: bool,
}Expand description
One impl block entry in super::db::ItemDb.
Fields§
§id: GlobalDefId§file: FileIdDefining workspace FileId (FileId::NONE for external dependency crates).
When file is in dirty_files, this indexed impl is suppressed in favor of the dirty CST.
target: ImplTargetKey§trait_def: GlobalDefIdImplemented trait GlobalDefId (GlobalDefId::NONE for inherent impl blocks).
is_negative: boolImplementations§
Source§impl IndexedImpl
impl IndexedImpl
pub const fn is_inherent(&self) -> bool
Trait Implementations§
Source§impl Clone for IndexedImpl
impl Clone for IndexedImpl
impl Copy for IndexedImpl
Source§impl Debug for IndexedImpl
impl Debug for IndexedImpl
impl Eq for IndexedImpl
Source§impl PartialEq for IndexedImpl
impl PartialEq for IndexedImpl
impl StructuralPartialEq for IndexedImpl
Auto Trait Implementations§
impl Forget for IndexedImpl
impl Freeze for IndexedImpl
impl Move for IndexedImpl
impl RefUnwindSafe for IndexedImpl
impl Send for IndexedImpl
impl Sync for IndexedImpl
impl Unpin for IndexedImpl
impl UnsafeUnpin for IndexedImpl
impl UnwindSafe for IndexedImpl
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