[][src]Struct qt_widgets::q_style_option_size_grip::StyleOptionType

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

This enum is used to hold information about the type of the style option, and is defined for each QStyleOption subclass.

C++ enum: QStyleOptionSizeGrip::StyleOptionType.

C++ documentation:

This enum is used to hold information about the type of the style option, and is defined for each QStyleOption subclass.

The type is used internally by QStyleOption, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own QStyleOption subclass and your own styles.

See also StyleOptionVersion.

Methods

impl StyleOptionType[src]

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

impl StyleOptionType[src]

pub const Type: StyleOptionType[src]

The type of style option provided (SO_TabBarBase for this class). (C++ enum variant: Type = 983047)

Trait Implementations

impl Clone for StyleOptionType[src]

impl Copy for StyleOptionType[src]

impl Debug for StyleOptionType[src]

impl Eq for StyleOptionType[src]

impl From<StyleOptionType> for c_int[src]

impl From<i32> for StyleOptionType[src]

impl PartialEq<StyleOptionType> for StyleOptionType[src]

impl StructuralEq for StyleOptionType[src]

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