Enum uiautomation::types::TextUnit
source · #[repr(i32)]pub enum TextUnit {
Character = 0,
Format = 1,
Word = 2,
Line = 3,
Paragraph = 4,
Page = 5,
Document = 6,
}
Expand description
Defines enum for windows::Win32::UI::Accessibility::TextUnit
.
Contains values that specify units of text for the purposes of navigation.
Variants§
Character = 0
Specifies that the text unit is one character in length.
Format = 1
Specifies that the text unit is the length of a single, common format specification, such as bold, italic, or similar.
Word = 2
Specifies that the text unit is one word in length.
Line = 3
Specifies that the text unit is one line in length.
Paragraph = 4
Specifies that the text unit is one paragraph in length.
Page = 5
Specifies that the text unit is one document-specific page in length.
Document = 6
Specifies that the text unit is an entire document in length.
Trait Implementations§
source§impl PartialEq for TextUnit
impl PartialEq for TextUnit
impl Copy for TextUnit
impl Eq for TextUnit
impl StructuralPartialEq for TextUnit
Auto Trait Implementations§
impl Freeze for TextUnit
impl RefUnwindSafe for TextUnit
impl Send for TextUnit
impl Sync for TextUnit
impl Unpin for TextUnit
impl UnwindSafe for TextUnit
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