Function easy_plugin::extractor::ty_to_bare_fn []

pub fn ty_to_bare_fn(ty: &Ty) -> Result<P<BareFnTy>, (Span, String)>

Returns the TyKind::BareFn value in the supplied Ty.