FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ReflectionCheckBoxColumn

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct ReflectionCheckBoxColumn
    

    ReflectionCheckBoxColumn.

    View source

    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)).

    Source

    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.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.