/DragonOS/kernel/crates/intertrait/tests/ |
H A D | castable_to.rs | 4 struct Data; struct 12 impl Greet for Data { implementation 22 impl Greet1 for Data { implementation 32 impl Greet2 for Data { implementation 38 impl Source for Data {} implementation 40 castable_to! { Data => crate::Greet, Greet1, Greet2 } 44 let data = Data; in test_multi_traits_on_struct()
|
H A D | on-type-multi-traits.rs | 5 struct Data; struct 13 impl Greet for Data { implementation 23 impl Greet1 for Data { implementation 33 impl Greet2 for Data { implementation 39 impl Source for Data {} implementation 43 let data = Data; in test_multi_traits_on_struct()
|
H A D | on-trait-impl.rs | 4 struct Data; struct 13 impl Greet for Data { implementation 19 impl Source for Data {} implementation 23 let data = Data; in test_cast_to_on_trait_impl()
|
H A D | on-struct.rs | 5 struct Data; struct 13 impl Greet for Data { implementation 19 impl Source for Data {} implementation 23 let data = Data; in test_cast_to_on_struct()
|
H A D | on-enum.rs | 6 enum Data { enum 17 impl Greet for Data { implementation 23 impl Source for Data {} implementation 27 let data = Data::Var2(1); in test_cast_to_on_enum()
|
H A D | on-trait-impl-assoc-type2.rs | 6 struct Data; struct 18 impl Concat for Data { implementation 27 impl Source for Data {} implementation 31 let data = Data; in test_cast_to_on_trait_impl_with_assoc_type2()
|
H A D | on-trait-impl-assoc-type3.rs | 6 struct Data; struct 18 impl Concat<String> for Data { implementation 27 impl Source for Data {} implementation 31 let data = Data; in test_cast_to_on_trait_impl_with_assoc_type3()
|
/DragonOS/kernel/crates/intertrait/tests/ui/ |
H A D | unknown-flag.rs | 6 struct Data; struct 14 impl Greet for Data { implementation 20 impl Source for Data {} implementation 23 let data = Arc::new(Data); in main()
|
H A D | duplicate-flags.rs | 6 struct Data; struct 14 impl Greet for Data { implementation 20 impl Source for Data {} implementation 23 let data = Arc::new(Data); in main()
|
H A D | on-generic-type.rs | 6 struct Data<T: 'static> { struct 16 impl<T: 'static> Greet for Data<T> { implementation 22 impl<T: 'static> Source for Data<T> {} implementation 25 let data = Data::<i32> { in main()
|
H A D | on-type-impl.rs | 3 struct Data; struct 6 impl Data { impl 13 let _ = Data; in main()
|
H A D | on-type-impl.stderr | 4 6 | impl Data {
|
H A D | on-generic-type.stderr | 4 6 | struct Data<T: 'static> {
|
/DragonOS/kernel/crates/intertrait/ |
H A D | README.md | 37 struct Data; 46 impl Greet for Data { 52 impl Source for Data {} 55 let data = Data; 70 struct Data; 74 impl Greet for Data { 89 impl Greet for Data { 97 struct Data; 107 struct Data; 109 impl Greet for Data { [all …]
|
/DragonOS/kernel/src/process/ |
H A D | resource.rs | 99 Data = 2, enumerator
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | hba.rs | 281 Data = 0x46, enumerator
|