XYFocusNavigationStrategy
enum · ferroui-base · v0.5.0
enum XYFocusNavigationStrategy
Specifies the disambiguation strategy used for navigating between multiple candidate targets with directional (XY) navigation.
Members
Auto
Auto = 0
Indicates that navigation strategy is inherited from the element's
ancestors. If all ancestors have a value of Auto, the fallback
strategy is Projection.
Projection
Projection = 1
Indicates that focus moves to the first element encountered when projecting the edge of the currently focused element in the direction of navigation.
NavigationDirectionDistance
NavigationDirectionDistance = 2
Indicates that focus moves to the element closest to the axis of the navigation direction.
RectilinearDistance
RectilinearDistance = 3
Indicates that focus moves to the closest element based on the shortest 2D distance (Manhattan metric).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHashMarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.