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

Function node_frame_source

platforms/ios/src/node.rs:953–958  ·  view source on GitHub ↗
(nodes: Vec<(NodeId, NodeBuilder)>, target: NodeId)

Source from the content-addressed store, hash-verified

951 // ---- frame_source ----
952
953 fn node_frame_source(nodes: Vec<(NodeId, NodeBuilder)>, target: NodeId) -> FrameSource {
954 let tree = build_tree(nodes);
955 let state = tree.state();
956 let node = state.node_by_tree_local_id(target, TreeId::ROOT).unwrap();
957 NodeWrapper(&node).frame_source()
958 }
959
960 #[test]
961 fn frame_source_uses_bounding_box_when_present() {

Callers

nothing calls this directly

Calls 5

node_by_tree_local_idMethod · 0.80
frame_sourceMethod · 0.80
build_treeFunction · 0.70
NodeWrapperClass · 0.70
stateMethod · 0.45

Tested by

no test coverage detected