[][src]Struct qt_gui::q_font::Capitalization

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

Rendering option for text this font applies to.

C++ enum: QFont::Capitalization.

C++ documentation:

Rendering option for text this font applies to.

This enum was introduced or modified in Qt 4.4.

Methods

impl Capitalization[src]

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

impl Capitalization[src]

pub const MixedCase: Capitalization[src]

This is the normal text rendering option where no capitalization change is applied. (C++ enum variant: MixedCase = 0)

pub const AllUppercase: Capitalization[src]

This alters the text to be rendered in all uppercase type. (C++ enum variant: AllUppercase = 1)

pub const AllLowercase: Capitalization[src]

This alters the text to be rendered in all lowercase type. (C++ enum variant: AllLowercase = 2)

pub const SmallCaps: Capitalization[src]

This alters the text to be rendered in small-caps type. (C++ enum variant: SmallCaps = 3)

pub const Capitalize: Capitalization[src]

This alters the text to be rendered with the first character of each word as an uppercase character. (C++ enum variant: Capitalize = 4)

Trait Implementations

impl Clone for Capitalization[src]

impl Copy for Capitalization[src]

impl Debug for Capitalization[src]

impl Eq for Capitalization[src]

impl From<Capitalization> for c_int[src]

impl From<i32> for Capitalization[src]

impl PartialEq<Capitalization> for Capitalization[src]

impl StructuralEq for Capitalization[src]

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