Home
last modified time | relevance | path

Searched refs:DeriveInput (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/crates/intertrait/macros/src/
H A Ditem_type.rs4 use syn::{DeriveInput, Path};
11 pub fn process(flags: &HashSet<Flag>, paths: Vec<Path>, input: DeriveInput) -> TokenStream { in process()
12 let DeriveInput { in process() localVariable
H A Dlib.rs5 use syn::{parse, parse_macro_input, DeriveInput, ItemImpl};
71 item_type::process(&flags, paths, parse_macro_input!(input as DeriveInput)) in cast_to()