Struct qt_gui::q_accessible::TextBoundaryType
source · pub struct TextBoundaryType(/* private fields */);
Expand description
This enum describes different types of text boundaries. It follows the IAccessible2 API and is used in the QAccessibleTextInterface.
C++ enum: QAccessible::TextBoundaryType
.
This enum describes different types of text boundaries. It follows the IAccessible2 API and is used in the QAccessibleTextInterface.
See also QAccessibleTextInterface.
Implementations§
source§impl TextBoundaryType
impl TextBoundaryType
sourcepub const CharBoundary: TextBoundaryType = _
pub const CharBoundary: TextBoundaryType = _
Use individual characters as boundary. (C++ enum variant: CharBoundary = 0
)
sourcepub const WordBoundary: TextBoundaryType = _
pub const WordBoundary: TextBoundaryType = _
Use words as boundaries. (C++ enum variant: WordBoundary = 1
)
sourcepub const SentenceBoundary: TextBoundaryType = _
pub const SentenceBoundary: TextBoundaryType = _
Use sentences as boundary. (C++ enum variant: SentenceBoundary = 2
)
sourcepub const ParagraphBoundary: TextBoundaryType = _
pub const ParagraphBoundary: TextBoundaryType = _
Use paragraphs as boundary. (C++ enum variant: ParagraphBoundary = 3
)
sourcepub const LineBoundary: TextBoundaryType = _
pub const LineBoundary: TextBoundaryType = _
Use newlines as boundary. (C++ enum variant: LineBoundary = 4
)
sourcepub const NoBoundary: TextBoundaryType = _
pub const NoBoundary: TextBoundaryType = _
No boundary (use the whole text). (C++ enum variant: NoBoundary = 5
)
Trait Implementations§
source§impl Clone for TextBoundaryType
impl Clone for TextBoundaryType
source§fn clone(&self) -> TextBoundaryType
fn clone(&self) -> TextBoundaryType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TextBoundaryType
impl Debug for TextBoundaryType
source§impl From<TextBoundaryType> for c_int
impl From<TextBoundaryType> for c_int
source§fn from(value: TextBoundaryType) -> Self
fn from(value: TextBoundaryType) -> Self
Converts to this type from the input type.
source§impl From<i32> for TextBoundaryType
impl From<i32> for TextBoundaryType
source§impl PartialEq for TextBoundaryType
impl PartialEq for TextBoundaryType
source§fn eq(&self, other: &TextBoundaryType) -> bool
fn eq(&self, other: &TextBoundaryType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TextBoundaryType
impl Eq for TextBoundaryType
impl StructuralEq for TextBoundaryType
impl StructuralPartialEq for TextBoundaryType
Auto Trait Implementations§
impl RefUnwindSafe for TextBoundaryType
impl Send for TextBoundaryType
impl Sync for TextBoundaryType
impl Unpin for TextBoundaryType
impl UnwindSafe for TextBoundaryType
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