Enum uiautomation::types::AnnotationType

source ·
#[repr(i32)]
pub enum AnnotationType {
Show 24 variants Unknown = 60_000, SpellingError = 60_001, GrammarError = 60_002, Comment = 60_003, FormulaError = 60_004, TrackChanges = 60_005, Header = 60_006, Footer = 60_007, Highlighted = 60_008, Endnote = 60_009, Footnote = 60_010, InsertionChange = 60_011, DeletionChange = 60_012, MoveChange = 60_013, FormatChange = 60_014, UnsyncedChange = 60_015, EditingLockedChange = 60_016, ExternalChange = 60_017, ConflictingChange = 60_018, Author = 60_019, AdvancedProofingIssue = 60_020, DataValidationError = 60_021, CircularReferenceError = 60_022, Mathematics = 60_023,
}
Expand description

Defines enum for windows::Win32::UI::Accessibility::UIA_ANNOTATIONTYPE.

This type describes the named constants that are used to identify types of annotations in a document.

Variants§

§

Unknown = 60_000

The annotation type is unknown.

§

SpellingError = 60_001

A spelling error, often denoted by a red squiggly line.

§

GrammarError = 60_002

A grammatical error, often denoted by a green squiggly line.

§

Comment = 60_003

A comment. Comments can take different forms depending on the application.

§

FormulaError = 60_004

An error in a formula. Formula errors typically include red text and exclamation marks.

§

TrackChanges = 60_005

A change that was made to the document.

§

Header = 60_006

The header for a page in a document.

§

Footer = 60_007

The footer for a page in a document.

§

Highlighted = 60_008

Highlighted content, typically denoted by a contrasting background color.

§

Endnote = 60_009

The endnote for a document.

§

Footnote = 60_010

The footnote for a page in a document.

§

InsertionChange = 60_011

An insertion change that was made to the document.

§

DeletionChange = 60_012

A deletion change that was made to the document.

§

MoveChange = 60_013

A move change that was made to the document.

§

FormatChange = 60_014

A format change that was made.

§

UnsyncedChange = 60_015

An unsynced change that was made to the document.

§

EditingLockedChange = 60_016

An editing locked change that was made to the document.

§

ExternalChange = 60_017

An external change that was made to the document.

§

ConflictingChange = 60_018

A conflicting change that was made to the document.

§

Author = 60_019

The author of the document.

§

AdvancedProofingIssue = 60_020

An advanced proofing issue.

§

DataValidationError = 60_021

A data validation error that occurred.

§

CircularReferenceError = 60_022

A circular reference error that occurred.

§

Mathematics = 60_023

A text range containing mathematics.

Trait Implementations§

source§

impl Clone for AnnotationType

source§

fn clone(&self) -> AnnotationType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AnnotationType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<UIA_ANNOTATIONTYPE> for AnnotationType

source§

fn from(value: UIA_ANNOTATIONTYPE) -> Self

Converts to this type from the input type.
source§

impl Into<UIA_ANNOTATIONTYPE> for AnnotationType

source§

fn into(self) -> UIA_ANNOTATIONTYPE

Converts this type into the (usually inferred) input type.
source§

impl PartialEq for AnnotationType

source§

fn eq(&self, other: &AnnotationType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<i32> for AnnotationType

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for AnnotationType

source§

impl Eq for AnnotationType

source§

impl StructuralPartialEq for AnnotationType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.