struct FindPathCtx<'db> {
db: &'db dyn SourceDatabase,
prefix: PrefixKind,
cfg: FindPathConfig,
ignore_local_imports: bool,
is_std_item: bool,
from: ModuleIdLt<'db>,
from_crate: Crate,
crate_root: ModuleIdLt<'db>,
from_def_map: &'db DefMap,
fuel: Cell<usize>,
}Fields§
§db: &'db dyn SourceDatabase§prefix: PrefixKind§cfg: FindPathConfig§ignore_local_imports: bool§is_std_item: bool§from: ModuleIdLt<'db>§from_crate: Crate§crate_root: ModuleIdLt<'db>§from_def_map: &'db DefMap§fuel: Cell<usize>Auto Trait Implementations§
impl<'db> !Freeze for FindPathCtx<'db>
impl<'db> !RefUnwindSafe for FindPathCtx<'db>
impl<'db> !Send for FindPathCtx<'db>
impl<'db> !Sync for FindPathCtx<'db>
impl<'db> !UnwindSafe for FindPathCtx<'db>
impl<'db> Unpin for FindPathCtx<'db>
impl<'db> UnsafeUnpin for FindPathCtx<'db>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more