Searched refs:Greet (Results 1 – 11 of 11) sorted by relevance
4 #[cast_to(Greet)]9 trait Greet { interface13 impl Greet for Data {25 let greet = source.cast::<dyn Greet>(); in test_cast_to_on_struct()
4 #[cast_to(Greet)]13 trait Greet { interface17 impl Greet for Data {29 let greet = source.cast::<dyn Greet>(); in test_cast_to_on_enum()
4 #[cast_to(Greet, Greet1, Greet2)]9 trait Greet { interface13 impl Greet for Data {46 let greet = source.cast::<dyn Greet>(); in test_multi_traits_on_struct()
8 trait Greet { interface12 impl Greet for Data {40 castable_to! { Data => crate::Greet, Greet1, Greet2 }47 let greet = source.cast::<dyn Greet>(); in test_multi_traits_on_struct()
8 trait Greet { interface13 impl Greet for Data {25 let greet = source.cast::<dyn Greet>(); in test_cast_to_on_trait_impl()
5 #[cast_to([sync, send] Greet)]10 trait Greet { interface14 impl Greet for Data {25 let greet = source.cast::<dyn Greet>(); in main()
5 #[cast_to([sync, sync] Greet)]10 trait Greet { trait14 impl Greet for Data {25 let greet = source.cast::<dyn Greet>(); in main()
5 #[cast_to(Greet)]12 trait Greet { interface16 impl<T: 'static> Greet for Data<T> {29 let greet = source.cast::<dyn Greet>(); in main()
4 5 | #[cast_to([sync, send] Greet)]
4 5 | #[cast_to([sync, sync] Greet)]
41 trait Greet {46 impl Greet for Data {57 let greet = source.cast::<dyn Greet>();71 trait Greet { fn greet(&self); }74 impl Greet for Data {87 trait Greet { fn greet(&self); }89 impl Greet for Data {95 #[cast_to(Greet, std::fmt::Debug)]108 trait Greet { fn greet(&self); }109 impl Greet for Data {[all …]