[][src]Struct qt_widgets::q_style_option_tab::CornerWidget

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

These flags indicate the corner widgets in a tab.

C++ enum: QStyleOptionTab::CornerWidget.

C++ documentation:

These flags indicate the corner widgets in a tab.

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

See also cornerWidgets.

Methods

impl CornerWidget[src]

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

impl CornerWidget[src]

pub const NoCornerWidgets: CornerWidget[src]

There are no corner widgets (C++ enum variant: NoCornerWidgets = 0)

pub const LeftCornerWidget: CornerWidget[src]

Left corner widget (C++ enum variant: LeftCornerWidget = 1)

pub const RightCornerWidget: CornerWidget[src]

Right corner widget (C++ enum variant: RightCornerWidget = 2)

Trait Implementations

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

type Output = QFlags<CornerWidget>

The resulting type after applying the | operator.

impl Clone for CornerWidget[src]

impl Copy for CornerWidget[src]

impl Debug for CornerWidget[src]

impl Eq for CornerWidget[src]

impl From<CornerWidget> for c_int[src]

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

impl From<i32> for CornerWidget[src]

impl PartialEq<CornerWidget> for CornerWidget[src]

impl StructuralEq for CornerWidget[src]

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