FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FerroAppBuilderExtensions

    trait · ferroui-reactiveui-controls · v0.5.0

    trait FerroAppBuilderExtensions
    

    with_ferro on an application builder that is a builder of ReactiveUI.Binding (WithFerro on IAppBuilder, which casts the builder).

    Deviation (DEVIATIONS.md, ReactiveUI controls): Rust cannot cast a trait object to another trait; the builder is found by its address among the builders of the thread (ReactiveUIBindingBuilder::find) and returned as its Rc.

    View source

    Members

    with_ferro

    fn with_ferro(self: &Self) -> Rc<ReactiveUIBindingBuilder>
    

    Registers the FerroBindingModule with the builder of ReactiveUI.Binding behind the application builder (WithFerro); returns that builder.

    Panics

    Panics when the application builder is not a builder of ReactiveUI.Binding.

    Source

    Trait implementations

    Availability

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