(&self, pred: I)
| 106 | impl PathAssert for fixture::TempDir { |
| 107 | #[track_caller] |
| 108 | fn assert<I, P>(&self, pred: I) -> &Self |
| 109 | where |
| 110 | I: IntoPathPredicate<P>, |
| 111 | P: predicates_core::Predicate<path::Path>, |
| 112 | { |
| 113 | assert(self.path(), pred); |
| 114 | self |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | impl PathAssert for fixture::NamedTempFile { |