Home
last modified time | relevance | path

Searched refs:Data (Results 1 – 16 of 16) sorted by relevance

/DragonOS/kernel/crates/intertrait/tests/
H A Dcastable_to.rs4 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 Don-type-multi-traits.rs5 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 Don-trait-impl.rs4 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 Don-struct.rs5 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 Don-enum.rs6 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 Don-trait-impl-assoc-type2.rs6 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 Don-trait-impl-assoc-type3.rs6 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 Dunknown-flag.rs6 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 Dduplicate-flags.rs6 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 Don-generic-type.rs6 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 Don-type-impl.rs3 struct Data; struct
6 impl Data { impl
13 let _ = Data; in main()
H A Don-type-impl.stderr4 6 | impl Data {
H A Don-generic-type.stderr4 6 | struct Data<T: 'static> {
/DragonOS/kernel/crates/intertrait/
H A DREADME.md37 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 Dresource.rs99 Data = 2, enumerator
/DragonOS/kernel/src/driver/disk/ahci/
H A Dhba.rs281 Data = 0x46, enumerator