[−][src]Struct qt_core::CheckState
This enum describes the state of checkable items, controls, and widgets.
C++ enum: Qt::CheckState.
This enum describes the state of checkable items, controls, and widgets.
See also QCheckBox, Qt::ItemFlags, and Qt::ItemDataRole.
Methods
impl CheckState[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 Eq for CheckState[src]
impl Clone for CheckState[src]
fn clone(&self) -> CheckState[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl PartialEq<CheckState> for CheckState[src]
fn eq(&self, other: &CheckState) -> bool[src]
fn ne(&self, other: &CheckState) -> bool[src]
impl From<i32> for CheckState[src]
impl From<CheckState> for c_int[src]
fn from(value: CheckState) -> Self[src]
impl Copy for CheckState[src]
impl Debug for CheckState[src]
Auto Trait Implementations
impl Send for CheckState
impl Unpin for CheckState
impl Sync for CheckState
impl UnwindSafe for CheckState
impl RefUnwindSafe for CheckState
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>, [src]
U: CastFrom<T>,