Enum uiautomation::types::TreeScope
source · #[repr(i32)]pub enum TreeScope {
None = 0,
Element = 1,
Children = 2,
Descendants = 4,
Parent = 8,
Ancestors = 16,
Subtree = 7,
}
Expand description
Defines enum for windows::Win32::UI::Accessibility::TreeScope
.
Contains values that specify the scope of various operations in the Microsoft UI Automation tree.
Variants§
None = 0
The scope excludes the subtree from the search.
Element = 1
The scope includes the element itself.
Children = 2
The scope includes children of the element.
Descendants = 4
The scope includes children and more distant descendants of the element.
Parent = 8
The scope includes the parent of the element.
Ancestors = 16
The scope includes the parent and more distant ancestors of the element.
Subtree = 7
The scope includes the element and all its descendants. This flag is a combination of the TreeScope_Element and TreeScope_Descendants values.
Trait Implementations§
source§impl PartialEq for TreeScope
impl PartialEq for TreeScope
impl Copy for TreeScope
impl Eq for TreeScope
impl StructuralPartialEq for TreeScope
Auto Trait Implementations§
impl Freeze for TreeScope
impl RefUnwindSafe for TreeScope
impl Send for TreeScope
impl Sync for TreeScope
impl Unpin for TreeScope
impl UnwindSafe for TreeScope
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more