struct DocMacroExpander<'db> {
db: &'db dyn SourceDatabase,
krate: Crate,
macro_depth: u32,
recursion_limit: u32,
resolver: Resolver<'db>,
file_id: HirFileId,
ast_id_map: &'db AstIdMap,
span_map: SpanMap<'db>,
}Fields§
§db: &'db dyn SourceDatabase§krate: Crate§macro_depth: u32§recursion_limit: u32§resolver: Resolver<'db>§file_id: HirFileId§ast_id_map: &'db AstIdMap§span_map: SpanMap<'db>Auto Trait Implementations§
impl<'db> !RefUnwindSafe for DocMacroExpander<'db>
impl<'db> !Send for DocMacroExpander<'db>
impl<'db> !Sync for DocMacroExpander<'db>
impl<'db> !UnwindSafe for DocMacroExpander<'db>
impl<'db> Freeze for DocMacroExpander<'db>
impl<'db> Unpin for DocMacroExpander<'db>
impl<'db> UnsafeUnpin for DocMacroExpander<'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