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