[][src]Struct qt_widgets::q_style_option_frame::FrameFeature

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

This enum describes the different types of features a frame can have.

C++ enum: QStyleOptionFrame::FrameFeature.

C++ documentation:

This enum describes the different types of features a frame can have.

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

Methods

impl FrameFeature[src]

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

impl FrameFeature[src]

pub const None: FrameFeature[src]

Indicates a normal frame. (C++ enum variant: None = 0)

pub const Flat: FrameFeature[src]

Indicates a flat frame. (C++ enum variant: Flat = 1)

pub const Rounded: FrameFeature[src]

Indicates a rounded frame. (C++ enum variant: Rounded = 2)

Trait Implementations

impl Eq for FrameFeature[src]

impl Clone for FrameFeature[src]

impl PartialEq<FrameFeature> for FrameFeature[src]

impl From<i32> for FrameFeature[src]

impl From<FrameFeature> for c_int[src]

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

impl Copy for FrameFeature[src]

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

type Output = QFlags<FrameFeature>

The resulting type after applying the | operator.

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