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

Method resolve_with_context

platforms/windows/src/node.rs:858–866  ·  view source on GitHub ↗
(&self, f: F)

Source from the content-addressed store, hash-verified

856 }
857
858 fn resolve_with_context<F, T>(&self, f: F) -> Result<T>
859 where
860 for<'a> F: FnOnce(Node<'a>, &Context) -> Result<T>,
861 {
862 self.with_tree_and_context(|tree, context| {
863 let node = self.node(tree)?;
864 f(node, context)
865 })
866 }
867
868 fn resolve_with_tree_state_and_context<F, T>(&self, f: F) -> Result<T>
869 where

Callers 3

resolveMethod · 0.45
BoundingRectangleMethod · 0.45

Calls 2

with_tree_and_contextMethod · 0.45
nodeMethod · 0.45

Tested by

no test coverage detected