[−][src]Struct qt_widgets::q_application::ColorSpec
See setColorSpec() for full details.
C++ enum: QApplication::ColorSpec
.
See setColorSpec() for full details.
Member Function Documentation
Methods
impl ColorSpec
[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
impl Send for ColorSpec
impl Unpin for ColorSpec
impl Sync for ColorSpec
impl UnwindSafe for ColorSpec
impl RefUnwindSafe for ColorSpec
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,