CheckBoxCell
struct · ferroui-controls-treedatagrid · v0.5.0
struct CheckBoxCell
CheckBoxCell.
Members
from_value
fn from_value(value: Option<bool>) -> Rc<Self>
A read-only cell of a constant value (CheckBoxCell(bool? value)).
new
fn new(binding: Rc<dyn ICellBinding<Option<bool>>>, is_read_only: bool, is_three_state: bool) -> Rc<Self>
A cell of the value binding pushes; a cell that is not read only writes its changes back.
single_tap_edit
fn single_tap_edit(self: &Self) -> bool
Whether a single tap edits the cell (SingleTapEdit).
is_read_only
fn is_read_only(self: &Self) -> bool
is_three_state
fn is_three_state(self: &Self) -> bool
Whether the check box has an indeterminate state.
value
fn value(self: &Self) -> Option<bool>
The state of the check box.
set_value
fn set_value(self: &Self, value: Option<bool>)
Sets the state; a cell that is not read only writes it to its binding.
try_set_source
fn try_set_source(self: &Self, source: Option<&BoxedValue>) -> bool
Points the cell's binding at another model (TrySetSource).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherINotifyPropertyChangedICellIRecyclableCell
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.