[][src]Crate polyhorn_ios

Re-exports

pub use polyhorn_style as style;

Modules

ffi
hooks

Macros

style
text_style
use_async
use_context
use_effect
use_id
use_reference
use_safe_area_insets
use_state

Structs

AnimationHandle
Animator
Bus
Callback
ChangeEvent
Color
CommandBuffer
Compositor
ContainerID
Context
ContextProvider
Environment
EventListener
Font
Image
ImageSource
Insets
Key

Key is a dynamically typed wrapper around any type that implements Any + Eq + Hash (note that Any implies 'static). Key acts as a transparent wrapper for these traits, where Eq and PartialEq in particular perform dynamic type checks before determining value equality.

KeyboardAvoidingView
Keyframe
KeyframeAnimation
Layout
LayoutAdjustment
Layouter
Modal
OpaqueComponent
OpaqueContainer
Platform
Point
Rect
Reference
SafeAreaInsets
ScrollView
Size
State
StatusBar
Text
TextInput
View
ViewHandle
Window

Enums

AlignItems
Animation
Builtin
Command
Dimension
FlexDirection
JustifyContent
Position
ScrollViewIndicatorStyle
StatusBarStyle
TextAlignment
Visibility

Traits

Component
Container
UseAsync
UseContext
UseEffect
UseReference
UseSafeAreaInsets
_

This is a trait that is implemented by integer and float types to make it more ergonomic to work with literals (e.g. 5.px() = Dimension::pixels(5.0)).

Functions

render

This is the entry point of Polyhorn. This function renders an element into the given container. The returned instance must be retained. Once the returned is dropped, all UI will be unmounted.

Type Definitions

Element
Instance
Manager
Style
TextStyle