[][src]Struct qt_widgets::q_style_option_tool_box::SelectedPosition

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

This enum describes the position of the selected tab. Some styles need to draw a tab differently depending on whether or not it is adjacent to the selected tab.

C++ enum: QStyleOptionToolBox::SelectedPosition.

C++ documentation:

This enum describes the position of the selected tab. Some styles need to draw a tab differently depending on whether or not it is adjacent to the selected tab.

See also selectedPosition.

Methods

impl SelectedPosition[src]

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

impl SelectedPosition[src]

pub const NotAdjacent: SelectedPosition[src]

The tab is not adjacent to a selected tab (or is the selected tab). (C++ enum variant: NotAdjacent = 0)

pub const NextIsSelected: SelectedPosition[src]

The next tab (typically the tab on the right) is selected. (C++ enum variant: NextIsSelected = 1)

pub const PreviousIsSelected: SelectedPosition[src]

The previous tab (typically the tab on the left) is selected. (C++ enum variant: PreviousIsSelected = 2)

Trait Implementations

impl Clone for SelectedPosition[src]

impl Copy for SelectedPosition[src]

impl Debug for SelectedPosition[src]

impl Eq for SelectedPosition[src]

impl From<SelectedPosition> for c_int[src]

impl From<i32> for SelectedPosition[src]

impl PartialEq<SelectedPosition> for SelectedPosition[src]

impl StructuralEq for SelectedPosition[src]

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