Trait win_wrap::uia::pattern::PatternCreatorWithAutomation
source · pub trait PatternCreatorWithAutomation<I: Interface>: TryFrom<(I, Weak<IUIAutomation6>)> + Sized {
const PATTERN: UIA_PATTERN_ID;
// Provided method
fn obtain(value: &UiAutomationElement) -> Result<Self, PatternError>
where <Self as TryFrom<(I, Weak<IUIAutomation6>)>>::Error: Debug { ... }
}Required Associated Constants§
Provided Methods§
sourcefn obtain(value: &UiAutomationElement) -> Result<Self, PatternError>
fn obtain(value: &UiAutomationElement) -> Result<Self, PatternError>
从UI元素获取此模式。
value UI元素。
Object Safety§
This trait is not object safe.