(t reflect.Type, vx, vy reflect.Value)
| 301 | } |
| 302 | |
| 303 | func (s *state) tryOptions(t reflect.Type, vx, vy reflect.Value) bool { |
| 304 | // Evaluate all filters and apply the remaining options. |
| 305 | if opt := s.opts.filter(s, t, vx, vy); opt != nil { |
| 306 | opt.apply(s, vx, vy) |
| 307 | return true |
| 308 | } |
| 309 | return false |
| 310 | } |
| 311 | |
| 312 | func (s *state) tryMethod(t reflect.Type, vx, vy reflect.Value) bool { |
| 313 | // Check if this type even has an Equal method. |
no test coverage detected