Home
last modified time | relevance | path

Searched refs:generate_caster (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/crates/intertrait/macros/src/
H A Ditem_type.rs9 use crate::gen_caster::generate_caster;
24 .flat_map(|t| generate_caster(ident, &t, flags.contains(&Flag::Sync))) in process()
H A Dlib.rs8 use gen_caster::generate_caster;
141 .map(|t| generate_caster(&ty, t, flags.contains(&Flag::Sync))) in castable_to()
H A Ditem_impl.rs14 use crate::gen_caster::generate_caster;
34 generate_caster(self_ty, &path, flags.contains(&Flag::Sync)) in process()
H A Dgen_caster.rs11 pub fn generate_caster(ty: &impl ToTokens, trait_: &impl ToTokens, sync: bool) -> TokenStream { in generate_caster() function