pub struct AnchorCacheParams<'a> {
pub anchor_fnames: &'a [PathBuf],
pub anchor_idents: &'a HashSet<String>,
pub anchor_scoped: &'a [(PathBuf, String)],
}Expand description
Anchor inputs bundled for passing to MapCacheKey::auto.
Avoids exceeding the 7-argument clippy limit.
Fields§
§anchor_fnames: &'a [PathBuf]Anchor files whose defining files should receive a ranking boost.
anchor_idents: &'a HashSet<String>Anchor identifiers to be resolved via the tag index.
anchor_scoped: &'a [(PathBuf, String)]Scoped anchors: (file, identifier) pairs.
Auto Trait Implementations§
impl<'a> Freeze for AnchorCacheParams<'a>
impl<'a> RefUnwindSafe for AnchorCacheParams<'a>
impl<'a> Send for AnchorCacheParams<'a>
impl<'a> Sync for AnchorCacheParams<'a>
impl<'a> Unpin for AnchorCacheParams<'a>
impl<'a> UnsafeUnpin for AnchorCacheParams<'a>
impl<'a> UnwindSafe for AnchorCacheParams<'a>
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