[][src]Struct qt_widgets::q_text_edit::AutoFormattingFlag

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

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

C++ enum: QTextEdit::AutoFormattingFlag.

C++ documentation:

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

Methods

impl AutoFormattingFlag[src]

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

impl AutoFormattingFlag[src]

pub const AutoNone: AutoFormattingFlag[src]

Don't do any automatic formatting. (C++ enum variant: AutoNone = 0)

pub const AutoBulletList: AutoFormattingFlag[src]

Automatically create bullet lists (e.g. when the user enters an asterisk ('*') in the left most column, or presses Enter in an existing list item. (C++ enum variant: AutoBulletList = 1)

pub const AutoAll: AutoFormattingFlag[src]

Apply all automatic formatting. Currently only automatic bullet lists are supported. (C++ enum variant: AutoAll = -1)

Trait Implementations

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

type Output = QFlags<AutoFormattingFlag>

The resulting type after applying the | operator.

impl Clone for AutoFormattingFlag[src]

impl Copy for AutoFormattingFlag[src]

impl Debug for AutoFormattingFlag[src]

impl Eq for AutoFormattingFlag[src]

impl From<AutoFormattingFlag> for c_int[src]

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

impl From<i32> for AutoFormattingFlag[src]

impl PartialEq<AutoFormattingFlag> for AutoFormattingFlag[src]

impl StructuralEq for AutoFormattingFlag[src]

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