MCPcopy Create free account
hub / github.com/AccessKit/accesskit / frame_source

Method frame_source

platforms/ios/src/node.rs:85–93  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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)

Callers 1

node_frame_sourceFunction · 0.80

Calls 3

bounding_boxMethod · 0.80
RectClass · 0.50
is_rootMethod · 0.45

Tested by

no test coverage detected