Home
last modified time | relevance | path

Searched refs:greet (Results 1 – 9 of 9) sorted by relevance

/DragonOS/kernel/crates/intertrait/tests/
H A Don-trait-impl.rs9 fn greet(&self); in greet() method
14 fn greet(&self) { in greet() method
25 let greet = source.cast::<dyn Greet>(); in test_cast_to_on_trait_impl() localVariable
26 greet.unwrap().greet(); in test_cast_to_on_trait_impl()
H A Don-struct.rs10 fn greet(&self); in greet() method
14 fn greet(&self) { in greet() method
25 let greet = source.cast::<dyn Greet>(); in test_cast_to_on_struct() localVariable
26 greet.unwrap().greet(); in test_cast_to_on_struct()
H A Don-enum.rs14 fn greet(&self); in greet() method
18 fn greet(&self) { in greet() method
29 let greet = source.cast::<dyn Greet>(); in test_cast_to_on_enum() localVariable
30 greet.unwrap().greet(); in test_cast_to_on_enum()
H A Don-type-multi-traits.rs10 fn greet(&self); in greet() method
14 fn greet(&self) { in greet() method
46 let greet = source.cast::<dyn Greet>(); in test_multi_traits_on_struct() localVariable
47 greet.unwrap().greet(); in test_multi_traits_on_struct()
H A Dcastable_to.rs9 fn greet(&self); in greet() method
13 fn greet(&self) { in greet() method
47 let greet = source.cast::<dyn Greet>(); in test_multi_traits_on_struct() localVariable
48 greet.unwrap().greet(); in test_multi_traits_on_struct()
/DragonOS/kernel/crates/intertrait/tests/ui/
H A Dunknown-flag.rs11 fn greet(&self); in greet() method
15 fn greet(&self) { in greet() method
25 let greet = source.cast::<dyn Greet>(); in main() localVariable
26 greet.unwrap_or_else(|_| panic!("can't happen")).greet(); in main()
H A Dduplicate-flags.rs11 fn greet(&self); in greet() method
15 fn greet(&self) { in greet() method
25 let greet = source.cast::<dyn Greet>(); in main() localVariable
26 greet.unwrap_or_else(|_| panic!("can't happen")).greet(); in main()
H A Don-generic-type.rs13 fn greet(&self); in greet() method
17 fn greet(&self) { in greet() method
29 let greet = source.cast::<dyn Greet>(); in main() localVariable
30 greet.unwrap().greet(); in main()
/DragonOS/kernel/crates/intertrait/
H A DREADME.md42 fn greet(&self);
47 fn greet(&self) {
57 let greet = source.cast::<dyn Greet>();
58 greet.unwrap().greet();
71 trait Greet { fn greet(&self); }
75 fn greet(&self) {
87 trait Greet { fn greet(&self); }
90 fn greet(&self) {
108 trait Greet { fn greet(&self); }
110 fn greet(&self) {