ReflectionCheckBoxColumn
struct · ferroui-controls-treedatagrid · v0.5.0
struct ReflectionCheckBoxColumn
ReflectionCheckBoxColumn.
Members
new
fn new(header: Option<BoxedValue>, getter: Rc<dyn Fn(&BoxedValue) -> Option<bool>>, setter: Option<Rc<dyn Fn(&BoxedValue, Option<bool>) -> ()>>, links: Vec<ObjectLink>, width: GridLength, options: Rc<CheckBoxColumnOptions<BoxedValue>>, is_three_state: bool) -> Rc<CheckBoxColumn<BoxedValue>>
A check box column whose value getter reads and setter (if any) writes, re-read when
one of the objects links returns changes (ReflectionCheckBoxColumn(header, getter, setter, links, width, options, isThreeState)).
for_property
fn for_property(header: Option<BoxedValue>, property_name: &'static str, is_read_only: bool, width: GridLength, options: Rc<CheckBoxColumnOptions<BoxedValue>>, is_three_state: bool) -> Rc<CheckBoxColumn<BoxedValue>>
A check box column of the property property_name of the models, read and written through
the property metadata of the models' types: a bool or bool? value, null for any other.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.