FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PropertyInfoAccessorFactory

    struct · ferroui-base · v0.5.0

    struct PropertyInfoAccessorFactory
    

    The accessor factories used by compiled binding paths for plain properties.

    View source

    Members

    create_inpc_property_accessor

    fn create_inpc_property_accessor<O: INotifyPropertyChanged + 'static>() -> PropertyAccessorFactory
    

    An accessor for a property of owner type O, which raises property change notifications.

    Source

    create_plain_property_accessor

    fn create_plain_property_accessor() -> PropertyAccessorFactory
    

    An accessor for a property of an owner that does not notify: the value is read once per source.

    Source

    create_indexer_property_accessor

    fn create_indexer_property_accessor(argument: i32) -> PropertyAccessorFactory
    

    An accessor for an indexer with one integer argument: besides the property change notifications of the owner it follows its collection change notifications, re-reading the value when a change affects the position argument.

    Whether the owner notifies is decided when the accessor is created, from what the owner's type declared (see ModelTypes).

    Source

    Trait implementations

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

    Availability

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