[][src]Struct qt_widgets::q_application::ColorSpec

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

See setColorSpec() for full details.

C++ enum: QApplication::ColorSpec.

C++ documentation:

See setColorSpec() for full details.

Member Function Documentation

Methods

impl ColorSpec[src]

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

impl ColorSpec[src]

pub const NormalColor: ColorSpec[src]

the default color allocation policy (C++ enum variant: NormalColor = 0)

pub const CustomColor: ColorSpec[src]

the same as NormalColor for X11; allocates colors to a palette on demand under Windows (C++ enum variant: CustomColor = 1)

pub const ManyColor: ColorSpec[src]

the right choice for applications that use thousands of colors (C++ enum variant: ManyColor = 2)

Trait Implementations

impl Eq for ColorSpec[src]

impl Clone for ColorSpec[src]

impl PartialEq<ColorSpec> for ColorSpec[src]

impl From<i32> for ColorSpec[src]

impl From<ColorSpec> for c_int[src]

impl Copy for ColorSpec[src]

impl Debug for ColorSpec[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]