MCPcopy Create free account
hub / github.com/Houtamelo/spire_enum / InputImplInherent

Class InputImplInherent

proc_macro/src/delegate_impl/inherent_impl.rs:4–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3#[derive(Parse, ToTokens)]
4pub struct InputImplInherent {
5 attrs: Any<Attribute<SynMeta>>,
6 defaultness: Optional<Token![default]>,
7 unsafety: Optional<Token![unsafe]>,
8 impl_token: Token![impl],
9 generics: Optional<InputGenerics>,
10 self_ty: Box<Type>,
11 where_clause: Optional<WhereClause>,
12 items: Brace<Any<InputImplItem>>,
13}
14
15pub fn run(input: InputImplInherent) -> Result<TokenStream> {
16 let sane = sanitize_input(input)?;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected