[][src]Struct qt_core::q_text_boundary_finder::BoundaryType

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

C++ enum: QTextBoundaryFinder::BoundaryType.

C++ documentation:

Methods

impl BoundaryType[src]

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

impl BoundaryType[src]

pub const Grapheme: BoundaryType[src]

Finds a grapheme which is the smallest boundary. It including letters, punctuation marks, numerals and more. (C++ enum variant: Grapheme = 0)

pub const Word: BoundaryType[src]

Finds a word. (C++ enum variant: Word = 1)

pub const Sentence: BoundaryType[src]

Finds sentence boundaries. These include periods, question marks etc. (C++ enum variant: Sentence = 2)

pub const Line: BoundaryType[src]

Finds possible positions for breaking the text into multiple lines. (C++ enum variant: Line = 3)

Trait Implementations

impl Clone for BoundaryType[src]

impl Copy for BoundaryType[src]

impl Debug for BoundaryType[src]

impl Eq for BoundaryType[src]

impl From<BoundaryType> for c_int[src]

impl From<i32> for BoundaryType[src]

impl PartialEq<BoundaryType> for BoundaryType[src]

impl StructuralEq for BoundaryType[src]

impl StructuralPartialEq for BoundaryType[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.