Function easy_plugin::extractor::ty_to_impl_trait
[−]
pub fn ty_to_impl_trait(ty: &Ty) -> Result<P<[TyParamBound]>, (Span, String)>
Returns the TyKind::ImplTrait
value in the supplied Ty
.