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.
Members
ExactExactThenBaseTypesExactThenInterfacesExactThenBaseTypesThenInterfacesExactThenInterfacesThenBaseTypes
Exact
Exact
The exact run-time type only.
ExactThenBaseTypes
ExactThenBaseTypes
The exact type, then the nearest mapped base class.
ExactThenInterfaces
ExactThenInterfaces
The exact type, then the nearest mapped trait.
ExactThenBaseTypesThenInterfaces
ExactThenBaseTypesThenInterfaces
The exact type, the mapped base classes, then the mapped traits. The default.
ExactThenInterfacesThenBaseTypes
ExactThenInterfacesThenBaseTypes
The exact type, the mapped traits, then the mapped base classes.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.