pub struct CheckState(/* private fields */);
Expand description
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.
Implementations§
Source§impl CheckState
impl CheckState
Sourcepub const Unchecked: CheckState
pub const Unchecked: CheckState
The item is unchecked. (C++ enum variant: Unchecked = 0
)
Sourcepub const PartiallyChecked: CheckState
pub const PartiallyChecked: CheckState
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
)
Sourcepub const Checked: CheckState
pub const Checked: CheckState
The item is checked. (C++ enum variant: Checked = 2
)
Trait Implementations§
Source§impl Clone for CheckState
impl Clone for CheckState
Source§fn clone(&self) -> CheckState
fn clone(&self) -> CheckState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CheckState
impl Debug for CheckState
Source§impl From<CheckState> for c_int
impl From<CheckState> for c_int
Source§fn from(value: CheckState) -> Self
fn from(value: CheckState) -> Self
Converts to this type from the input type.
Source§impl From<i32> for CheckState
impl From<i32> for CheckState
Source§impl PartialEq for CheckState
impl PartialEq for CheckState
impl Copy for CheckState
impl Eq for CheckState
impl StructuralPartialEq for CheckState
Auto Trait Implementations§
impl Freeze for CheckState
impl RefUnwindSafe for CheckState
impl Send for CheckState
impl Sync for CheckState
impl Unpin for CheckState
impl UnwindSafe for CheckState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more