[][src]Struct qt_widgets::q_font_combo_box::FontFilter

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

This enum can be used to only show certain types of fonts in the font combo box.

C++ enum: QFontComboBox::FontFilter.

C++ documentation:

This enum can be used to only show certain types of fonts in the font combo box.

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

Methods

impl FontFilter[src]

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

impl FontFilter[src]

pub const AllFonts: FontFilter[src]

Show all fonts (C++ enum variant: AllFonts = 0)

pub const ScalableFonts: FontFilter[src]

Show scalable fonts (C++ enum variant: ScalableFonts = 1)

pub const NonScalableFonts: FontFilter[src]

Show non scalable fonts (C++ enum variant: NonScalableFonts = 2)

pub const MonospacedFonts: FontFilter[src]

Show monospaced fonts (C++ enum variant: MonospacedFonts = 4)

pub const ProportionalFonts: FontFilter[src]

Show proportional fonts (C++ enum variant: ProportionalFonts = 8)

Trait Implementations

impl Eq for FontFilter[src]

impl Clone for FontFilter[src]

impl PartialEq<FontFilter> for FontFilter[src]

impl From<i32> for FontFilter[src]

impl From<FontFilter> for c_int[src]

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

impl Copy for FontFilter[src]

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

type Output = QFlags<FontFilter>

The resulting type after applying the | operator.

impl Debug for FontFilter[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<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]