FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ValidationScope

    struct · ferroui-markup-xaml · v0.5.0

    struct ValidationScope
    

    A UI-thread scope that restores the enclosing validator even on unwind. Validate after construction, before publishing or attaching the candidate. Deferred templates are checked only if instantiated inside this scope.

    View source

    Members

    new

    fn new() -> Self
    

    Source

    validate

    fn validate(self: &Self) -> Result<(), XamlLoadError>
    

    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
    • Default
    • Drop

    Availability

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