FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ISupportInitialize

    trait · ferroui-base · v0.5.0

    trait ISupportInitialize
    

    Specifies that an object supports a simple, transacted notification for batch initialization: the counterpart of the component model contract of the same name, which markup calls around the initialization of an object.

    View source

    Members

    begin_init

    fn begin_init(self: &Self)
    

    Signals the object that initialization is starting.

    Source

    end_init

    fn end_init(self: &Self)
    

    Signals the object that initialization is complete.

    Source

    try_end_init

    fn try_end_init(self: &Self) -> Result<(), InitializationError>
    

    Signals the object that initialization is complete, reporting a failure of the initialization (the exception EndInit raises in the managed original) instead of panicking. Markup calls this form. By default initialization cannot fail.

    Source

    Availability

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