[][src]Struct qt_widgets::q_style_option_tab::TabFeature

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

Describes the various features that a tab button can have.

C++ enum: QStyleOptionTab::TabFeature.

C++ documentation:

Describes the various features that a tab button can have.

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

See also features.

Methods

impl TabFeature[src]

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

impl TabFeature[src]

pub const None: TabFeature[src]

A normal tab button. (C++ enum variant: None = 0)

pub const HasFrame: TabFeature[src]

The tab button is positioned on a tab frame (C++ enum variant: HasFrame = 1)

Trait Implementations

impl From<i32> for TabFeature[src]

impl From<TabFeature> for c_int[src]

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

impl Clone for TabFeature[src]

impl Copy for TabFeature[src]

impl Eq for TabFeature[src]

impl PartialEq<TabFeature> for TabFeature[src]

impl Debug for TabFeature[src]

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

type Output = QFlags<TabFeature>

The resulting type after applying the | operator.

impl StructuralPartialEq for TabFeature[src]

impl StructuralEq for TabFeature[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

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