[][src]Struct qt_widgets::q_date_time_edit::Section

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

The Sections type is a typedef for QFlags<Section>. It stores an OR combination of Section values.

C++ enum: QDateTimeEdit::Section.

C++ documentation:

The Sections type is a typedef for QFlags<Section>. It stores an OR combination of Section values.

Methods

impl Section[src]

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

impl Section[src]

pub const NoSection: Section[src]

C++ enum variant: NoSection = 0

pub const AmPmSection: Section[src]

C++ enum variant: AmPmSection = 1

pub const MSecSection: Section[src]

C++ enum variant: MSecSection = 2

pub const SecondSection: Section[src]

C++ enum variant: SecondSection = 4

pub const MinuteSection: Section[src]

C++ enum variant: MinuteSection = 8

pub const HourSection: Section[src]

C++ enum variant: HourSection = 16

pub const DaySection: Section[src]

C++ enum variant: DaySection = 256

pub const MonthSection: Section[src]

C++ enum variant: MonthSection = 512

pub const YearSection: Section[src]

C++ enum variant: YearSection = 1024

pub const TimeSectionsMask: Section[src]

C++ enum variant: TimeSections_Mask = 31

pub const DateSectionsMask: Section[src]

C++ enum variant: DateSections_Mask = 1792

Trait Implementations

impl Eq for Section[src]

impl Clone for Section[src]

impl PartialEq<Section> for Section[src]

impl From<i32> for Section[src]

impl From<Section> for c_int[src]

impl From<Section> for QFlags<Section>[src]

impl Copy for Section[src]

impl<T: Into<QFlags<Section>>> BitOr<T> for Section[src]

type Output = QFlags<Section>

The resulting type after applying the | operator.

impl Debug for Section[src]

Auto Trait Implementations

impl Send for Section

impl Unpin for Section

impl Sync for Section

impl UnwindSafe for Section

impl RefUnwindSafe for Section

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]