[][src]Struct qt_gui::q_text_document::FindFlag

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

This enum describes the options available to QTextDocument's find function. The options can be OR-ed together from the following list:

C++ enum: QTextDocument::FindFlag.

C++ documentation:

This enum describes the options available to QTextDocument's find function. The options can be OR-ed together from the following list:

The FindFlags type is a typedef for QFlags<FindFlag>. It stores an OR combination of FindFlag values.

Methods

impl FindFlag[src]

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

impl FindFlag[src]

pub const FindBackward: FindFlag[src]

Search backwards instead of forwards. (C++ enum variant: FindBackward = 1)

pub const FindCaseSensitively: FindFlag[src]

By default find works case insensitive. Specifying this option changes the behaviour to a case sensitive find operation. (C++ enum variant: FindCaseSensitively = 2)

pub const FindWholeWords: FindFlag[src]

Makes find match only complete words. (C++ enum variant: FindWholeWords = 4)

Trait Implementations

impl<T: Into<QFlags<FindFlag>>> BitOr<T> for FindFlag[src]

type Output = QFlags<FindFlag>

The resulting type after applying the | operator.

impl Clone for FindFlag[src]

impl Copy for FindFlag[src]

impl Debug for FindFlag[src]

impl Eq for FindFlag[src]

impl From<FindFlag> for c_int[src]

impl From<FindFlag> for QFlags<FindFlag>[src]

impl From<i32> for FindFlag[src]

impl PartialEq<FindFlag> for FindFlag[src]

impl StructuralEq for FindFlag[src]

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