[][src]Struct qt_widgets::q_tab_bar::ButtonPosition

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

This enum type lists the location of the widget on a tab.

C++ enum: QTabBar::ButtonPosition.

C++ documentation:

This enum type lists the location of the widget on a tab.

This enum was introduced or modified in Qt 4.5.

Methods

impl ButtonPosition[src]

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

impl ButtonPosition[src]

pub const LeftSide: ButtonPosition[src]

Left side of the tab. (C++ enum variant: LeftSide = 0)

pub const RightSide: ButtonPosition[src]

Right side of the tab. (C++ enum variant: RightSide = 1)

Trait Implementations

impl Eq for ButtonPosition[src]

impl Clone for ButtonPosition[src]

impl PartialEq<ButtonPosition> for ButtonPosition[src]

impl From<i32> for ButtonPosition[src]

impl From<ButtonPosition> for c_int[src]

impl Copy for ButtonPosition[src]

impl Debug for ButtonPosition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[src]

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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