hir_ty::method_resolution

Trait MethodCandidateCallback

Source
pub trait MethodCandidateCallback {
    // Required methods
    fn on_inherent_method(
        &mut self,
        adjustments: ReceiverAdjustments,
        item: AssocItemId,
        is_visible: bool,
    ) -> ControlFlow<()>;
    fn on_trait_method(
        &mut self,
        adjustments: ReceiverAdjustments,
        item: AssocItemId,
        is_visible: bool,
    ) -> ControlFlow<()>;
}

Required Methods§

Source

fn on_inherent_method( &mut self, adjustments: ReceiverAdjustments, item: AssocItemId, is_visible: bool, ) -> ControlFlow<()>

Source

fn on_trait_method( &mut self, adjustments: ReceiverAdjustments, item: AssocItemId, is_visible: bool, ) -> ControlFlow<()>

Implementors§