Searched refs:greet (Results 1 – 9 of 9) sorted by relevance
9 fn greet(&self); in greet() method14 fn greet(&self) { in greet() method25 let greet = source.cast::<dyn Greet>(); in test_cast_to_on_trait_impl() localVariable26 greet.unwrap().greet(); in test_cast_to_on_trait_impl()
10 fn greet(&self); in greet() method14 fn greet(&self) { in greet() method25 let greet = source.cast::<dyn Greet>(); in test_cast_to_on_struct() localVariable26 greet.unwrap().greet(); in test_cast_to_on_struct()
14 fn greet(&self); in greet() method18 fn greet(&self) { in greet() method29 let greet = source.cast::<dyn Greet>(); in test_cast_to_on_enum() localVariable30 greet.unwrap().greet(); in test_cast_to_on_enum()
10 fn greet(&self); in greet() method14 fn greet(&self) { in greet() method46 let greet = source.cast::<dyn Greet>(); in test_multi_traits_on_struct() localVariable47 greet.unwrap().greet(); in test_multi_traits_on_struct()
9 fn greet(&self); in greet() method13 fn greet(&self) { in greet() method47 let greet = source.cast::<dyn Greet>(); in test_multi_traits_on_struct() localVariable48 greet.unwrap().greet(); in test_multi_traits_on_struct()
11 fn greet(&self); in greet() method15 fn greet(&self) { in greet() method25 let greet = source.cast::<dyn Greet>(); in main() localVariable26 greet.unwrap_or_else(|_| panic!("can't happen")).greet(); in main()
13 fn greet(&self); in greet() method17 fn greet(&self) { in greet() method29 let greet = source.cast::<dyn Greet>(); in main() localVariable30 greet.unwrap().greet(); in main()
42 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) {