Trait ide::TryToNav

source ·
pub trait TryToNav {
    // Required method
    fn try_to_nav(
        &self,
        db: &RootDatabase,
    ) -> Option<UpmappingResult<NavigationTarget>>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl TryToNav for Adt

source§

impl TryToNav for AssocItem

source§

impl TryToNav for GenericParam

source§

impl TryToNav for ModuleDef

source§

impl TryToNav for Definition

source§

impl TryToNav for ConstParam

source§

impl TryToNav for ExternCrateDecl

source§

impl TryToNav for Field

source§

impl TryToNav for Impl

source§

impl TryToNav for InlineAsmOperand

source§

impl TryToNav for Label

source§

impl TryToNav for LifetimeParam

source§

impl TryToNav for Macro

source§

impl TryToNav for TypeOrConstParam

source§

impl TryToNav for TypeParam

source§

impl TryToNav for FileSymbol

source§

impl<T: TryToNav, U: TryToNav> TryToNav for Either<T, U>

Implementors§

source§

impl<D> TryToNav for D
where D: HasSource + ToNavFromAst + Copy + HasDocs + HirDisplay, D::Ast: HasName,