FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FerroTestApplicationAttribute

    struct · ferroui-headless · v0.5.0

    struct FerroTestApplicationAttribute
    

    Sets up global test framework using the application builder passed as a parameter.

    View source

    Members

    new

    const fn new(app_builder_entry_point_type: fn() -> AppBuilder) -> Self
    

    Creates instance of FerroTestApplicationAttribute.

    app_builder_entry_point_type is the parameter from which AppBuilder should be created. The original takes a type that has a method which builds the application or that inherits the application class, and finds the method through reflection; here it is that method (AppBuilder::configure::<TApp> for a type that inherits the application class).

    Source

    app_builder_entry_point_type

    fn app_builder_entry_point_type(self: &Self) -> fn() -> AppBuilder
    

    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
    • ClassDefaults
    • Clone
    • Copy
    • Debug
    • ErasedDestructor
    • IntoEither

    Availability

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