[][src]Struct qt_core::CheckState

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

This enum describes the state of checkable items, controls, and widgets.

C++ enum: Qt::CheckState.

C++ documentation:

This enum describes the state of checkable items, controls, and widgets.

See also QCheckBox, Qt::ItemFlags, and Qt::ItemDataRole.

Methods

impl CheckState[src]

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

impl CheckState[src]

pub const Unchecked: CheckState[src]

The item is unchecked. (C++ enum variant: Unchecked = 0)

pub const PartiallyChecked: CheckState[src]

The item is partially checked. Items in hierarchical models may be partially checked if some, but not all, of their children are checked. (C++ enum variant: PartiallyChecked = 1)

pub const Checked: CheckState[src]

The item is checked. (C++ enum variant: Checked = 2)

Trait Implementations

impl Clone for CheckState[src]

impl Copy for CheckState[src]

impl Debug for CheckState[src]

impl Eq for CheckState[src]

impl From<CheckState> for c_int[src]

impl From<i32> for CheckState[src]

impl PartialEq<CheckState> for CheckState[src]

impl StructuralEq for CheckState[src]

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