Function rustc::middle::typeck::check::method::existsExperimental
[-]
[+]
[src]
pub fn exists<'a, 'tcx>(fcx: &FnCtxt<'a, 'tcx>, span: Span, method_name: Name, self_ty: Ty<'tcx>, call_expr_id: NodeId) -> bool
Determines whether the type self_ty supports a method name method_name or not.