[][src]Struct qt_gui::q_font_database::SystemFont

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

This enum was introduced or modified in Qt 5.2.

C++ enum: QFontDatabase::SystemFont.

C++ documentation:

This enum was introduced or modified in Qt 5.2.

Methods

impl SystemFont[src]

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

impl SystemFont[src]

pub const GeneralFont: SystemFont[src]

The default system font. (C++ enum variant: GeneralFont = 0)

pub const FixedFont: SystemFont[src]

The fixed font that the system recommends. (C++ enum variant: FixedFont = 1)

pub const TitleFont: SystemFont[src]

The system standard font for titles. (C++ enum variant: TitleFont = 2)

pub const SmallestReadableFont: SystemFont[src]

The smallest readable system font. (C++ enum variant: SmallestReadableFont = 3)

Trait Implementations

impl Clone for SystemFont[src]

impl Copy for SystemFont[src]

impl Debug for SystemFont[src]

impl Eq for SystemFont[src]

impl From<SystemFont> for c_int[src]

impl From<i32> for SystemFont[src]

impl PartialEq<SystemFont> for SystemFont[src]

impl StructuralEq for SystemFont[src]

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