[][src]Struct qt_widgets::q_l_c_d_number::SegmentStyle

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

This type determines the visual appearance of the QLCDNumber widget.

C++ enum: QLCDNumber::SegmentStyle.

C++ documentation:

This type determines the visual appearance of the QLCDNumber widget.

Methods

impl SegmentStyle[src]

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

impl SegmentStyle[src]

pub const Outline: SegmentStyle[src]

gives raised segments filled with the background color. (C++ enum variant: Outline = 0)

pub const Filled: SegmentStyle[src]

gives raised segments filled with the windowText color. (C++ enum variant: Filled = 1)

pub const Flat: SegmentStyle[src]

gives flat segments filled with the windowText color. (C++ enum variant: Flat = 2)

Trait Implementations

impl Clone for SegmentStyle[src]

impl Copy for SegmentStyle[src]

impl Debug for SegmentStyle[src]

impl Eq for SegmentStyle[src]

impl From<SegmentStyle> for c_int[src]

impl From<i32> for SegmentStyle[src]

impl PartialEq<SegmentStyle> for SegmentStyle[src]

impl StructuralEq for SegmentStyle[src]

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