[][src]Struct qt_core::WhiteSpaceMode

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

This enum describes the types of whitespace mode that are used by the QTextDocument class to meet the requirements of different kinds of textual information.

C++ enum: Qt::WhiteSpaceMode.

C++ documentation:

This enum describes the types of whitespace mode that are used by the QTextDocument class to meet the requirements of different kinds of textual information.

Methods

impl WhiteSpaceMode[src]

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

impl WhiteSpaceMode[src]

pub const WhiteSpaceNormal: WhiteSpaceMode[src]

The whitespace mode used to display normal word wrapped text in paragraphs. (C++ enum variant: WhiteSpaceNormal = 0)

pub const WhiteSpacePre: WhiteSpaceMode[src]

A preformatted text mode in which whitespace is reproduced exactly. (C++ enum variant: WhiteSpacePre = 1)

pub const WhiteSpaceNoWrap: WhiteSpaceMode[src]

  (C++ enum variant: WhiteSpaceNoWrap = 2)

pub const WhiteSpaceModeUndefined: WhiteSpaceMode[src]

C++ enum variant: WhiteSpaceModeUndefined = -1

Trait Implementations

impl From<i32> for WhiteSpaceMode[src]

impl From<WhiteSpaceMode> for c_int[src]

impl Clone for WhiteSpaceMode[src]

impl Copy for WhiteSpaceMode[src]

impl Eq for WhiteSpaceMode[src]

impl PartialEq<WhiteSpaceMode> for WhiteSpaceMode[src]

impl Debug for WhiteSpaceMode[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<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.

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

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

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

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

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