Searched refs:probe_trait (Results 1 – 2 of 2) sorted by relevance
55 assert!(ac.probe_trait(&add)); in probe_add()56 assert!(ac.probe_trait(&add_rhs)); in probe_add()57 assert!(ac.probe_trait(&add_rhs_output)); in probe_add()68 assert!(ac.probe_trait(&as_ref_str)); in probe_as_ref()88 ac.assert_min(1, 12, ac.probe_trait(&sum)); in probe_sum()89 ac.assert_min(1, 12, ac.probe_trait(&sum_i32)); in probe_sum()
293 pub fn probe_trait(&self, name: &str) -> bool { in probe_trait() method303 if self.probe_trait(name) { in emit_has_trait()310 if self.probe_trait(name) { in emit_trait_cfg()