[][src]Struct qt_widgets::q_style_option_header::SectionPosition

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

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

C++ enum: QStyleOptionHeader::SectionPosition.

C++ documentation:

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

See also position.

Methods

impl SectionPosition[src]

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

impl SectionPosition[src]

pub const Beginning: SectionPosition[src]

At the beginining of the header (C++ enum variant: Beginning = 0)

pub const Middle: SectionPosition[src]

In the middle of the header (C++ enum variant: Middle = 1)

pub const End: SectionPosition[src]

At the end of the header (C++ enum variant: End = 2)

pub const OnlyOneSection: SectionPosition[src]

Only one header section (C++ enum variant: OnlyOneSection = 3)

Trait Implementations

impl Eq for SectionPosition[src]

impl Clone for SectionPosition[src]

impl PartialEq<SectionPosition> for SectionPosition[src]

impl From<i32> for SectionPosition[src]

impl From<SectionPosition> for c_int[src]

impl Copy for SectionPosition[src]

impl Debug for SectionPosition[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]