[][src]Struct qt_widgets::q_style_option_tool_bar::ToolBarFeature

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

This enum is used to describe whether a toolbar is movable or not.

C++ enum: QStyleOptionToolBar::ToolBarFeature.

C++ documentation:

This enum is used to describe whether a toolbar is movable or not.

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

See also features and QToolBar::isMovable().

Methods

impl ToolBarFeature[src]

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

impl ToolBarFeature[src]

pub const None: ToolBarFeature[src]

The toolbar cannot be moved. The default value. (C++ enum variant: None = 0)

pub const Movable: ToolBarFeature[src]

The toolbar is movable, and a handle will appear when holding the cursor over the toolbar's boundary. (C++ enum variant: Movable = 1)

Trait Implementations

impl Eq for ToolBarFeature[src]

impl Clone for ToolBarFeature[src]

impl PartialEq<ToolBarFeature> for ToolBarFeature[src]

impl From<i32> for ToolBarFeature[src]

impl From<ToolBarFeature> for c_int[src]

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

impl Copy for ToolBarFeature[src]

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

type Output = QFlags<ToolBarFeature>

The resulting type after applying the | operator.

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