[][src]Struct qt_gui::q_accessible::TextBoundaryType

#[repr(transparent)]
pub struct TextBoundaryType(_);

This enum describes different types of text boundaries. It follows the IAccessible2 API and is used in the QAccessibleTextInterface.

C++ enum: QAccessible::TextBoundaryType.

C++ documentation:

This enum describes different types of text boundaries. It follows the IAccessible2 API and is used in the QAccessibleTextInterface.

See also QAccessibleTextInterface.

Methods

impl TextBoundaryType[src]

pub fn to_int(&self) -> c_int[src]

impl TextBoundaryType[src]

pub const CharBoundary: TextBoundaryType[src]

Use individual characters as boundary. (C++ enum variant: CharBoundary = 0)

pub const WordBoundary: TextBoundaryType[src]

Use words as boundaries. (C++ enum variant: WordBoundary = 1)

pub const SentenceBoundary: TextBoundaryType[src]

Use sentences as boundary. (C++ enum variant: SentenceBoundary = 2)

pub const ParagraphBoundary: TextBoundaryType[src]

Use paragraphs as boundary. (C++ enum variant: ParagraphBoundary = 3)

pub const LineBoundary: TextBoundaryType[src]

Use newlines as boundary. (C++ enum variant: LineBoundary = 4)

pub const NoBoundary: TextBoundaryType[src]

No boundary (use the whole text). (C++ enum variant: NoBoundary = 5)

Trait Implementations

impl Clone for TextBoundaryType[src]

impl Copy for TextBoundaryType[src]

impl Debug for TextBoundaryType[src]

impl Eq for TextBoundaryType[src]

impl From<TextBoundaryType> for c_int[src]

impl From<i32> for TextBoundaryType[src]

impl PartialEq<TextBoundaryType> for TextBoundaryType[src]

impl StructuralEq for TextBoundaryType[src]

impl StructuralPartialEq for TextBoundaryType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.