Struct ra_ap_hir_def::resolver::Resolver [−][src]
pub struct Resolver { /* fields omitted */ }
Implementations
Resolve known trait from std, like std::futures::Future
Resolve known struct from std, like std::boxed::Box
Resolve known enum from std, like std::result::Result
pub fn resolve_module_path_in_trait_items(
&self,
db: &dyn DefDatabase,
path: &ModPath
) -> Option<TraitId>
pub fn resolve_path_in_type_ns(
&self,
db: &dyn DefDatabase,
path: &ModPath
) -> Option<(TypeNs, Option<usize>)>
pub fn resolve_path_in_type_ns_fully(
&self,
db: &dyn DefDatabase,
path: &ModPath
) -> Option<TypeNs>
pub fn resolve_visibility(
&self,
db: &dyn DefDatabase,
visibility: &RawVisibility
) -> Option<Visibility>
pub fn resolve_path_in_value_ns(
&self,
db: &dyn DefDatabase,
path: &ModPath
) -> Option<ResolveValueResult>
pub fn resolve_path_in_value_ns_fully(
&self,
db: &dyn DefDatabase,
path: &ModPath
) -> Option<ValueNs>
pub fn resolve_path_as_macro(
&self,
db: &dyn DefDatabase,
path: &ModPath
) -> Option<MacroDefId>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Resolver
impl UnwindSafe for Resolver
Blanket Implementations
Mutably borrows from an owned value. Read more