(&self)
| 83 | } |
| 84 | |
| 85 | fn frame_source(&self) -> FrameSource { |
| 86 | if let Some(rect) = self.0.bounding_box() { |
| 87 | FrameSource::Rect(rect) |
| 88 | } else if self.0.is_root() { |
| 89 | FrameSource::ViewBounds |
| 90 | } else { |
| 91 | FrameSource::Zero |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | pub(crate) fn has_non_scroll_action(&self) -> bool { |
| 96 | self.0.supports_action(Action::Click, &filter) |
no test coverage detected