[][src]Struct qt_widgets::q_style_option_header::SelectedPosition

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

This enum lets you know where the section's position is in relation to the selected section.

C++ enum: QStyleOptionHeader::SelectedPosition.

C++ documentation:

This enum lets you know where the section's position is in relation to the selected section.

See also selectedPosition.

Methods

impl SelectedPosition[src]

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

impl SelectedPosition[src]

pub const NotAdjacent: SelectedPosition[src]

Not adjacent to the selected section (C++ enum variant: NotAdjacent = 0)

pub const NextIsSelected: SelectedPosition[src]

The next section is selected (C++ enum variant: NextIsSelected = 1)

pub const PreviousIsSelected: SelectedPosition[src]

The previous section is selected (C++ enum variant: PreviousIsSelected = 2)

pub const NextAndPreviousAreSelected: SelectedPosition[src]

Both the next and previous section are selected (C++ enum variant: NextAndPreviousAreSelected = 3)

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.