[][src]Module polyhorn_ui::hooks

Macros, types and traits that implement UI-related hooks for Polyhorn.

Macros

use_safe_area_insets

Hook that returns the safe area insets of a view.

Structs

SafeAreaInsets

Immutable structure that contains the layout direction independent insets of the safe area of a view with respect to each edge of its rectangle. All insets are positive numbers.

Traits

UseSafeAreaInsets

Hook that is implemented by any type that can provide its safe area insets.