Skip to main content

is_fn_trait

Function is_fn_trait 

Source
pub(crate) fn is_fn_trait(tcx: TyCtxt<'_>, trait_id: DefId) -> bool
Expand description

Whether this is one of the three callable traits.