FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FerroTestIsolationAttribute

    struct · ferroui-headless · v0.5.0

    struct FerroTestIsolationAttribute
    

    Specifies how headless unit tests should be isolated from each other, defining when the test runtime should recreate the application and dispatcher instances.

    View source

    Members

    new

    const fn new(isolation_level: FerroTestIsolationLevel) -> Self
    

    Source

    isolation_level

    fn isolation_level(self: &Self) -> FerroTestIsolationLevel
    

    Gets the isolation level for headless tests.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • ErasedDestructor
    • IntoEither

    Availability

    Extracted for x86_64-unknown-linux-gnu, aarch64-apple-darwin. Cargo features are listed in the crate index.