pub struct ContentAddressedDefIds { /* private fields */ }Expand description
Content-addressed DefId generator for LSP mode.
Uses a hash of (name, file_id, span) to generate stable DefIds
that survive file edits without changing unrelated definitions.
Implementations§
Source§impl ContentAddressedDefIds
impl ContentAddressedDefIds
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ContentAddressedDefIds
impl !RefUnwindSafe for ContentAddressedDefIds
impl Send for ContentAddressedDefIds
impl Sync for ContentAddressedDefIds
impl Unpin for ContentAddressedDefIds
impl UnsafeUnpin for ContentAddressedDefIds
impl UnwindSafe for ContentAddressedDefIds
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