Searched refs:type_id (Results 1 – 7 of 7) sorted by relevance
/DragonOS-0.1.9/kernel/src/libs/intertrait/src/cast/ |
D | cast_ref.rs | 68 let caster = caster::<T>(any.type_id())?; in cast() 75 CASTER_MAP.contains_key(&(self.type_id(), TypeId::of::<Caster<T>>())) in impls() 82 caster_map().contains_key(&(self.type_id(), TypeId::of::<Caster<T>>())) in impls()
|
D | cast_mut.rs | 38 let caster = caster::<T>((*any).type_id())?; in cast()
|
D | cast_arc.rs | 40 match caster::<T>((*self).type_id()) { in cast()
|
D | cast_box.rs | 39 match caster::<T>((*self).type_id()) { in cast()
|
D | cast_rc.rs | 39 match caster::<T>((*self).type_id()) { in cast()
|
/DragonOS-0.1.9/kernel/src/libs/intertrait/src/ |
D | lib.rs | 109 let (type_id, caster) = f(); 110 ((type_id, (*caster).type_id()), caster) 155 let (type_id, caster) = f(); in init_caster_map() 156 ((type_id, (*caster).type_id()), caster) in init_caster_map() 239 fn caster<T: ?Sized + 'static>(type_id: TypeId) -> Option<&'static Caster<T>> { in caster() 243 .get(&(type_id, TypeId::of::<Caster<T>>())) in caster() 250 .get(&(type_id, TypeId::of::<Caster<T>>())) in caster() 387 let type_id = TypeId::of::<TestStruct>(); in create_test_caster() localVariable 395 (type_id, caster) in create_test_caster()
|
/DragonOS-0.1.9/kernel/src/exception/ |
D | manage.rs | 404 h.type_id() == (&DefaultPrimaryIrqHandler as &dyn IrqHandler).type_id() in inner_setup_irq()
|