[][src]Struct qt_widgets::q_style_option_tool_box::TabPosition

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

This enum describes tab positions relative to other tabs.

C++ enum: QStyleOptionToolBox::TabPosition.

C++ documentation:

This enum describes tab positions relative to other tabs.

Methods

impl TabPosition[src]

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

impl TabPosition[src]

pub const Beginning: TabPosition[src]

The tab is the first (i.e., top-most) tab in the toolbox. (C++ enum variant: Beginning = 0)

pub const Middle: TabPosition[src]

The tab is placed in the middle of the toolbox. (C++ enum variant: Middle = 1)

pub const End: TabPosition[src]

The tab is placed at the bottom of the toolbox. (C++ enum variant: End = 2)

pub const OnlyOneTab: TabPosition[src]

There is only one tab in the toolbox. (C++ enum variant: OnlyOneTab = 3)

Trait Implementations

impl Clone for TabPosition[src]

impl Copy for TabPosition[src]

impl Debug for TabPosition[src]

impl Eq for TabPosition[src]

impl From<TabPosition> for c_int[src]

impl From<i32> for TabPosition[src]

impl PartialEq<TabPosition> for TabPosition[src]

impl StructuralEq for TabPosition[src]

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