FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ViewResolutionMode

    enum · ferroui-static-view-locator · v0.5.0

    enum ViewResolutionMode
    

    The fallback precedence the generated adapters are compiled with (generated_adapter_resolution_mode of static_view_locator).

    The generator flattens the precedence into the table of the views: a view model type of the crate that has no view of its own gets the view of its nearest mapped base class or of its mapped trait, in the order the mode states.

    View source

    Members

    Exact

    Exact
    

    The exact run-time type only.

    Source

    ExactThenBaseTypes

    ExactThenBaseTypes
    

    The exact type, then the nearest mapped base class.

    Source

    ExactThenInterfaces

    ExactThenInterfaces
    

    The exact type, then the nearest mapped trait.

    Source

    ExactThenBaseTypesThenInterfaces

    ExactThenBaseTypesThenInterfaces
    

    The exact type, the mapped base classes, then the mapped traits. The default.

    Source

    ExactThenInterfacesThenBaseTypes

    ExactThenInterfacesThenBaseTypes
    

    The exact type, the mapped traits, then the mapped base classes.

    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
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash

    Availability

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