(&self, object: &RepoObject)
| 239 | } |
| 240 | |
| 241 | fn test(&self, object: &RepoObject) -> bool { |
| 242 | if self.impossible_result { |
| 243 | return false; |
| 244 | } |
| 245 | |
| 246 | if self.ids.is_empty() { |
| 247 | return true; |
| 248 | } |
| 249 | |
| 250 | if let RepoObject::Link(link) = object { |
| 251 | if self.ids.contains(link.id()) { |
| 252 | return true; |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | false |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | struct Filter { |
no test coverage detected