pub fn exists<'a, 'tcx>(fcx: &FnCtxt<'a, 'tcx>,
                        span: Span,
                        method_name: ast::Name,
                        self_ty: Ty<'tcx>,
                        call_expr_id: ast::NodeId)
                        -> bool
{
    match probe::probe(fcx, span, method_name, self_ty, call_expr_id) {
        Ok(_) => true,
        Err(NoMatch(_)) => false,
        Err(Ambiguity(_)) => true,
    }
}
/// Determines whether the type `self_ty` supports a method name `method_name` or not.
Determines whether the type `self_ty` supports a method name `method_name` or not.
Determines whether the type ` self_ty ` supports a method name ` method_name ` or not .
pub fn exists<'a, 'tcx>(fcx: &FnCtxt<'a, 'tcx>,
                        span: Span,
                        method_name: ast::Name,
                        self_ty: Ty<'tcx>,
                        call_expr_id: ast::NodeId)
                        -> bool
{
    match probe::probe(fcx, span, method_name, self_ty, call_expr_id) {
        Ok(_) => true,
        Err(NoMatch(_)) => false,
        Err(Ambiguity(_)) => true,
    }
}
pub fn exists < ' a , ' tcx > ( fcx : & FnCtxt < ' a , ' tcx > , span : Span , method_name : ast :: Name , self_ty : Ty < ' tcx > , call_expr_id : ast :: NodeId ) -> bool { match probe :: probe ( fcx , span , method_name , self_ty , call_expr_id ) { Ok ( _ ) => true , Err ( NoMatch ( _ ) ) => false , Err ( Ambiguity ( _ ) ) => true , } }
Determines whether the type `self_ty` supports a method name `method_name` or not.
Determines whether the type ` self_ty ` supports a method name ` method_name ` or not .
fcx
&FnCtxt<'a, 'tcx>
span
Span
method_name
ast::Name
self_ty
Ty<'tcx>
call_expr_id
ast::NodeId