Function impl_tools_lib::generics::clause_to_toks
source · pub fn clause_to_toks(
wc: &Option<WhereClause>,
item_wc: Option<&WhereClause>,
subst: &TokenStream
) -> TokenStreamExpand description
Generate a where_clause
This merges a WhereClause with a syn::WhereClause, replacing any
instance of trait as a parameter bound in wc with subst.