FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PreviewRequest

    struct · ferroui-designer · v0.5.0

    struct PreviewRequest
    

    A factory receives the actual authored document and base URI. It may instantiate a real registered code-behind class and call populate to apply XAML before wiring its handlers.

    View source

    Members

    source

    source: String
    

    Source

    preview_source

    preview_source: Option<String>
    

    Designer-only loading source. Factories continue to inspect the exact authored source; populate loads this projection when design-time overrides are present.

    Source

    uri

    uri: String
    

    Source

    configuration

    configuration: ferroui_markup_xaml::RuntimeXamlLoaderConfiguration
    

    Source

    populate

    fn populate(self: &Self, root: Option<BoxedValue>) -> Result<BoxedValue, String>
    

    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
    • Same

    Availability

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