Enum atk::TextBoundary [−][src]
#[non_exhaustive] pub enum TextBoundary { Char, WordStart, WordEnd, SentenceStart, SentenceEnd, LineStart, LineEnd, // some variants omitted }
Expand description
Text boundary types used for specifying boundaries for regions of text.
This enumeration is deprecated since 2.9.4 and should not be used. Use
AtkTextGranularity with atk_text_get_string_at_offset
instead.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Boundary is the boundary between characters (including non-printing characters)
Boundary is the start (i.e. first character) of a word.
Boundary is the end (i.e. last character) of a word.
Boundary is the first character in a sentence.
Boundary is the last (terminal) character in a sentence; in languages which use “sentence stop” punctuation such as English, the boundary is thus the ‘.’, ‘?’, or similar terminal punctuation character.
Boundary is the initial character of the content or a character immediately following a newline, linefeed, or return character.
Boundary is the linefeed, or return character.
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 TextBoundary
impl Send for TextBoundary
impl Sync for TextBoundary
impl Unpin for TextBoundary
impl UnwindSafe for TextBoundary
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.