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

Method Compare

platforms/windows/src/text.rs:334–339  ·  view source on GitHub ↗
(&self, other: Ref<ITextRangeProvider>)

Source from the content-addressed store, hash-verified

332 }
333
334 fn Compare(&self, other: Ref<ITextRangeProvider>) -> Result<BOOL> {
335 let other = unsafe { required_param(&other)?.as_impl() };
336 Ok((self.context.ptr_eq(&other.context)
337 && *self.state.read().unwrap() == *other.state.read().unwrap())
338 .into())
339 }
340
341 fn CompareEndpoints(
342 &self,

Callers

nothing calls this directly

Calls 2

required_paramFunction · 0.85
readMethod · 0.80

Tested by

no test coverage detected