Skip to main content

interface_declares_any_method

Function interface_declares_any_method 

Source
pub fn interface_declares_any_method<'d, F>(
    interface_ty: &Type,
    lookup: F,
) -> bool
where F: Copy + Fn(&str) -> Option<&'d Definition>,
Expand description

Whether an interface or any of its parents declares a method.