fn extend_generics_with_block(generics: &mut Generics) {
	let c = generate_crate_access(HIDDEN_INCLUDES_ID);

	generics.lt_token = Some(parse_quote!(<));
	generics.params.insert(0, parse_quote!( Block: #c::runtime_api::BlockT ));
	generics.gt_token = Some(parse_quote!(>));
}
/// Extend the given generics with `Block: BlockT` as first generic parameter.
Extend the given generics with `Block: BlockT` as first generic parameter.
Extend the given generics with ` Block : BlockT ` as first generic parameter .
fn extend_generics_with_block(generics: &mut Generics) {
	let c = generate_crate_access(HIDDEN_INCLUDES_ID);
	generics.lt_token = Some(parse_quote!(<));
	generics.params.insert(0, parse_quote!( Block: #c::runtime_api::BlockT ));
	generics.gt_token = Some(parse_quote!(>));
}
fn extend_generics_with_block ( generics : & mut Generics ) { let c = generate_crate_access ( HIDDEN_INCLUDES_ID ) ; generics . lt_token = Some ( parse_quote ! ( ) ) ; generics . params . insert ( 0 , parse_quote ! ( Block c runtime_api BlockT ) ) ; generics . gt_token = Some ( parse_quote ! ( ) ) ; }
Extend the given generics with `Block: BlockT` as first generic parameter.
Extend the given generics with ` Block : BlockT ` as first generic parameter .
generics
&mut Generics
generics
&mut Generics