FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IndexerDescriptor

    struct · ferroui-base · v0.5.0

    struct IndexerDescriptor
    

    Holds a description of a binding for the binding indexer of FerroObject (FerroObject::indexer and FerroObject::bind_indexer).

    View source

    Members

    mode

    mode: crate::data::BindingMode
    

    The binding mode.

    Source

    priority

    priority: crate::data::BindingPriority
    

    The binding priority.

    Source

    property

    property: Option<&'static crate::FerroProperty>
    

    The source property.

    Source

    source

    source: Option<crate::Ref<crate::FerroObject>>
    

    The source object.

    Source

    source_observable

    source_observable: Option<std::rc::Rc<dyn IObservable<crate::BoxedValue>>>
    

    The source observable. If None, then source.property is used.

    Source

    new

    fn new() -> Self
    

    Creates an empty description.

    Source

    description

    fn description(self: &Self) -> String
    

    A description of the binding.

    Source

    with_mode

    fn with_mode(self: Self, mode: BindingMode) -> Self
    

    Modifies the binding mode.

    Source

    with_priority

    fn with_priority(self: Self, priority: BindingPriority) -> Self
    

    Modifies the binding priority.

    Source

    Trait implementations

    Availability

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