[][src]Struct qt_core::ToolBarArea

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

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

C++ enum: Qt::ToolBarArea.

C++ documentation:

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

Methods

impl ToolBarArea[src]

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

impl ToolBarArea[src]

pub const LeftToolBarArea: ToolBarArea[src]

C++ enum variant: LeftToolBarArea = 1

pub const RightToolBarArea: ToolBarArea[src]

C++ enum variant: RightToolBarArea = 2

pub const TopToolBarArea: ToolBarArea[src]

C++ enum variant: TopToolBarArea = 4

pub const BottomToolBarArea: ToolBarArea[src]

C++ enum variant: BottomToolBarArea = 8

pub const ToolBarAreaMask: ToolBarArea[src]

C++ enum variant: ToolBarArea_Mask = 15

pub const AllToolBarAreas: ToolBarArea[src]

C++ enum variant: AllToolBarAreas = 15

pub const NoToolBarArea: ToolBarArea[src]

C++ enum variant: NoToolBarArea = 0

Trait Implementations

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

type Output = QFlags<ToolBarArea>

The resulting type after applying the | operator.

impl Clone for ToolBarArea[src]

impl Copy for ToolBarArea[src]

impl Debug for ToolBarArea[src]

impl Eq for ToolBarArea[src]

impl From<ToolBarArea> for c_int[src]

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

impl From<i32> for ToolBarArea[src]

impl PartialEq<ToolBarArea> for ToolBarArea[src]

impl StructuralEq for ToolBarArea[src]

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