FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ReflectionTextColumn

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct ReflectionTextColumn
    

    ReflectionTextColumn.

    View source

    Members

    new

    fn new(header: Option<BoxedValue>, getter: ObjectGetter, setter: Option<ObjectSetter>, links: Vec<ObjectLink>, width: GridLength, options: Rc<TextColumnOptions<BoxedValue>>) -> Rc<TextColumn<BoxedValue, Option<BoxedValue>>>
    

    A text column whose value getter reads and setter (if any) writes, re-read when one of the objects links returns changes (ReflectionTextColumn(header, getter, setter, links, width, options)).

    Source

    for_property

    fn for_property(header: Option<BoxedValue>, property_name: &'static str, is_read_only: bool, width: GridLength, options: Rc<TextColumnOptions<BoxedValue>>) -> Rc<TextColumn<BoxedValue, Option<BoxedValue>>>
    

    A text column of the property property_name of the models, read and written through the property metadata of the models' types (ModelTypes), and observed by the models' PropertyChanged for that name.

    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.