[][src]Struct qt_widgets::q_completer::CompletionMode

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

This enum specifies how completions are provided to the user.

C++ enum: QCompleter::CompletionMode.

C++ documentation:

This enum specifies how completions are provided to the user.

See also setCompletionMode().

Methods

impl CompletionMode[src]

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

impl CompletionMode[src]

pub const PopupCompletion: CompletionMode[src]

Current completions are displayed in a popup window. (C++ enum variant: PopupCompletion = 0)

pub const UnfilteredPopupCompletion: CompletionMode[src]

All possible completions are displayed in a popup window with the most likely suggestion indicated as current. (C++ enum variant: UnfilteredPopupCompletion = 1)

pub const InlineCompletion: CompletionMode[src]

Completions appear inline (as selected text). (C++ enum variant: InlineCompletion = 2)

Trait Implementations

impl Clone for CompletionMode[src]

impl Copy for CompletionMode[src]

impl Debug for CompletionMode[src]

impl Eq for CompletionMode[src]

impl From<CompletionMode> for c_int[src]

impl From<i32> for CompletionMode[src]

impl PartialEq<CompletionMode> for CompletionMode[src]

impl StructuralEq for CompletionMode[src]

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