Enum atk::TextGranularity [−][src]
#[non_exhaustive] pub enum TextGranularity { Char, Word, Sentence, Line, Paragraph, // some variants omitted }
Expand description
Text granularity types used for specifying the granularity of the region of text we are interested in.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Granularity is defined by the boundaries between characters (including non-printing characters)
Granularity is defined by the boundaries of a word, starting at the beginning of the current word and finishing at the beginning of the following one, if present.
Granularity is defined by the boundaries of a sentence, starting at the beginning of the current sentence and finishing at the beginning of the following one, if present.
Granularity is defined by the boundaries of a line, starting at the beginning of the current line and finishing at the beginning of the following one, if present.
Granularity is defined by the boundaries of a paragraph, starting at the beginning of the current paragraph and finishing at the beginning of the following one, if present.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for TextGranularity
impl Send for TextGranularity
impl Sync for TextGranularity
impl Unpin for TextGranularity
impl UnwindSafe for TextGranularity
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.