FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BindableDictionary

    struct · ferroui-base · v0.5.0

    struct BindableDictionary<K: Eq + Hash + Clone + Display + 'static, V: PropertyValue>
    

    A notifying dictionary that bindings can index into (Items[key]): a FerroDictionary together with the untyped change event that binding indexers subscribe to.

    As a model object it has identity equality.

    View source

    Members

    new

    fn new(entries: impl IntoIterator<Item = (K, V)>) -> Rc<Self>
    

    Creates a dictionary with the given entries.

    Source

    items

    fn items(self: &Self) -> &FerroDictionary<K, V>
    

    The typed dictionary.

    Source

    Trait implementations

    Availability

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